renderers (interlace and stuff)
[picodrive.git] / platform / uiq2 / audio.h
... / ...
CommitLineData
1// audio interface, used in picodriveN\r
2\r
3#ifndef __AUDIO_H\r
4#define __AUDIO_H\r
5\r
6#include <e32std.h>\r
7\r
8\r
9class IGameAudio : public CBase\r
10{\r
11public:\r
12 virtual TInt16 *NextFrameL() = 0;\r
13 virtual TInt16 *DupeFrameL(TInt &aUnderflowed) = 0;\r
14 virtual TInt16 *ResumeL() = 0;\r
15 virtual void Pause() = 0;\r
16 virtual void ChangeVolume(TInt aUp) = 0; // for Motorolas (experimental)\r
17};\r
18\r
19\r
20// our audio object maker type\r
21typedef IGameAudio *(*_gameAudioNew)(TInt aRate, TBool aStereo, TInt aPcmFrames, TInt aBufferedFrames);\r
22\r
23\r
24#endif /* __AUDIO_H */\r