view 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 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