mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 15:48:05 -04:00
initial import
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@2 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
2cadbd5e56
commit
cc68a136aa
341 changed files with 180839 additions and 0 deletions
24
platform/uiq2/audio.h
Normal file
24
platform/uiq2/audio.h
Normal file
|
@ -0,0 +1,24 @@
|
|||
// audio interface, used in picodriveN
|
||||
|
||||
#ifndef __AUDIO_H
|
||||
#define __AUDIO_H
|
||||
|
||||
#include <e32std.h>
|
||||
|
||||
|
||||
class IGameAudio : public CBase
|
||||
{
|
||||
public:
|
||||
virtual TInt16 *NextFrameL() = 0;
|
||||
virtual TInt16 *DupeFrameL(TInt &aUnderflowed) = 0;
|
||||
virtual TInt16 *ResumeL() = 0;
|
||||
virtual void Pause() = 0;
|
||||
virtual void ChangeVolume(TInt aUp) = 0; // for Motorolas (experimental)
|
||||
};
|
||||
|
||||
|
||||
// our audio object maker type
|
||||
typedef IGameAudio *(*_gameAudioNew)(TInt aRate, TBool aStereo, TInt aPcmFrames, TInt aBufferedFrames);
|
||||
|
||||
|
||||
#endif /* __AUDIO_H */
|
Loading…
Add table
Add a link
Reference in a new issue