view src/win32/Sound.h @ 6:458a4f18f3cd

working on lua generation
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 10:48:33 -0600
parents f9f4f1b99eed
children
line wrap: on
line source
1 #ifndef VBA_WIN32_SOUND_H
2 #define VBA_WIN32_SOUND_H
4 class ISound
5 {
6 public:
7 virtual ~ISound() {};
9 virtual bool init() = 0;
10 virtual void pause() = 0;
11 virtual void reset() = 0;
12 virtual void resume() = 0;
13 virtual void write() = 0;
14 virtual void setSpeed(float rate) = 0;
15 virtual bool isPlaying() = 0;
16 virtual void clearAudioBuffer() {}
17 };
19 #endif