diff options
author | Einar Johan Trøan Sømåen | 2012-05-09 19:49:53 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-06-02 12:42:10 +0200 |
commit | 23dd928733340261aabe3a006e3b17010909d537 (patch) | |
tree | ea5ffa79a266319a392954f9d99fd19c81c74634 /engines/wintermute/BSoundBuffer.h | |
parent | 0b8ac2f3b44883875c9366cd965314257fc32ce7 (diff) | |
download | scummvm-rg350-23dd928733340261aabe3a006e3b17010909d537.tar.gz scummvm-rg350-23dd928733340261aabe3a006e3b17010909d537.tar.bz2 scummvm-rg350-23dd928733340261aabe3a006e3b17010909d537.zip |
WINTERMUTE: Add in basic sound-support.
Right now, all that is supported is triggering OGG-files,
the choice of codec is hardcoded, and stopping/pausing etc isn't added in.
Diffstat (limited to 'engines/wintermute/BSoundBuffer.h')
-rw-r--r-- | engines/wintermute/BSoundBuffer.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/wintermute/BSoundBuffer.h b/engines/wintermute/BSoundBuffer.h index 2a1016f7a9..e9ef8264f7 100644 --- a/engines/wintermute/BSoundBuffer.h +++ b/engines/wintermute/BSoundBuffer.h @@ -33,6 +33,11 @@ #include "BBase.h"
//#include "bass.h"
+namespace Audio {
+ class SeekableAudioStream;
+ class SoundHandle;
+}
+
namespace WinterMute {
class CBFile;
@@ -72,6 +77,8 @@ public: //HSTREAM _stream;
//HSYNC _sync;
+ Audio::SeekableAudioStream *_stream;
+ Audio::SoundHandle *_handle;
bool _freezePaused;
uint32 _loopStart;
|