Mercurial > vba-clojure
comparison 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 |
comparison
equal
deleted
inserted
replaced
0:8ced16adf2e1 | 1:f9f4f1b99eed |
---|---|
1 #ifndef VBA_WIN32_SOUND_H | |
2 #define VBA_WIN32_SOUND_H | |
3 | |
4 class ISound | |
5 { | |
6 public: | |
7 virtual ~ISound() {}; | |
8 | |
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 }; | |
18 | |
19 #endif |