aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/BSoundBuffer.h
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-05-09 19:49:53 +0200
committerEinar Johan Trøan Sømåen2012-06-02 12:42:10 +0200
commit23dd928733340261aabe3a006e3b17010909d537 (patch)
treeea5ffa79a266319a392954f9d99fd19c81c74634 /engines/wintermute/BSoundBuffer.h
parent0b8ac2f3b44883875c9366cd965314257fc32ce7 (diff)
downloadscummvm-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.h7
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;