annotate src/win32/Sound.h @ 4:5f6f2134e8ce

apu appears to not be used
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 10:35:58 -0600
parents f9f4f1b99eed
children
rev   line source
rlm@1 1 #ifndef VBA_WIN32_SOUND_H
rlm@1 2 #define VBA_WIN32_SOUND_H
rlm@1 3
rlm@1 4 class ISound
rlm@1 5 {
rlm@1 6 public:
rlm@1 7 virtual ~ISound() {};
rlm@1 8
rlm@1 9 virtual bool init() = 0;
rlm@1 10 virtual void pause() = 0;
rlm@1 11 virtual void reset() = 0;
rlm@1 12 virtual void resume() = 0;
rlm@1 13 virtual void write() = 0;
rlm@1 14 virtual void setSpeed(float rate) = 0;
rlm@1 15 virtual bool isPlaying() = 0;
rlm@1 16 virtual void clearAudioBuffer() {}
rlm@1 17 };
rlm@1 18
rlm@1 19 #endif