aboutsummaryrefslogtreecommitdiff
path: root/graphics/video/coktelvideo
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/video/coktelvideo')
-rw-r--r--graphics/video/coktelvideo/coktelvideo.cpp11
-rw-r--r--graphics/video/coktelvideo/coktelvideo.h5
2 files changed, 11 insertions, 5 deletions
diff --git a/graphics/video/coktelvideo/coktelvideo.cpp b/graphics/video/coktelvideo/coktelvideo.cpp
index 9f9c40b6ed..e3bf3f8493 100644
--- a/graphics/video/coktelvideo/coktelvideo.cpp
+++ b/graphics/video/coktelvideo/coktelvideo.cpp
@@ -33,6 +33,9 @@
#include "graphics/dither.h"
#include "graphics/video/coktelvideo/indeo3.h"
+#include "sound/audiostream.h"
+#include "sound/raw.h"
+
namespace Graphics {
Imd::Imd() {
@@ -2184,8 +2187,8 @@ void Vmd::emptySoundSlice(uint32 size) {
if (sound) {
uint32 flags = 0;
- flags |= (_soundBytesPerSample == 2) ? Audio::Mixer::FLAG_16BITS : 0;
- flags |= (_soundStereo > 0) ? Audio::Mixer::FLAG_STEREO : 0;
+ flags |= (_soundBytesPerSample == 2) ? Audio::FLAG_16BITS : 0;
+ flags |= (_soundStereo > 0) ? Audio::FLAG_STEREO : 0;
_audioStream->queueBuffer(sound, size, DisposeAfterUse::YES, flags);
}
@@ -2202,8 +2205,8 @@ void Vmd::filledSoundSlice(uint32 size) {
if (sound) {
uint32 flags = 0;
- flags |= (_soundBytesPerSample == 2) ? Audio::Mixer::FLAG_16BITS : 0;
- flags |= (_soundStereo > 0) ? Audio::Mixer::FLAG_STEREO : 0;
+ flags |= (_soundBytesPerSample == 2) ? Audio::FLAG_16BITS : 0;
+ flags |= (_soundStereo > 0) ? Audio::FLAG_STEREO : 0;
_audioStream->queueBuffer(sound, size, DisposeAfterUse::YES, flags);
}
diff --git a/graphics/video/coktelvideo/coktelvideo.h b/graphics/video/coktelvideo/coktelvideo.h
index f0165cfb76..95176cd287 100644
--- a/graphics/video/coktelvideo/coktelvideo.h
+++ b/graphics/video/coktelvideo/coktelvideo.h
@@ -38,7 +38,10 @@
#include "common/array.h"
#include "graphics/dither.h"
#include "sound/mixer.h"
-#include "sound/audiostream.h"
+
+namespace Audio {
+ class QueuingAudioStream;
+}
namespace Graphics {