Mercurial > vba-linux
diff src/win32/Sound.h @ 1:f9f4f1b99eed
importing src directory
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:31:27 -0600 |
parents | |
children |
line wrap: on
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/win32/Sound.h Sat Mar 03 10:31:27 2012 -0600 1.3 @@ -0,0 +1,19 @@ 1.4 +#ifndef VBA_WIN32_SOUND_H 1.5 +#define VBA_WIN32_SOUND_H 1.6 + 1.7 +class ISound 1.8 +{ 1.9 +public: 1.10 + virtual ~ISound() {}; 1.11 + 1.12 + virtual bool init() = 0; 1.13 + virtual void pause() = 0; 1.14 + virtual void reset() = 0; 1.15 + virtual void resume() = 0; 1.16 + virtual void write() = 0; 1.17 + virtual void setSpeed(float rate) = 0; 1.18 + virtual bool isPlaying() = 0; 1.19 + virtual void clearAudioBuffer() {} 1.20 +}; 1.21 + 1.22 +#endif