aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/saga.h
diff options
context:
space:
mode:
authorMatthew Hoops2011-12-23 19:26:25 -0500
committerMatthew Hoops2011-12-24 11:09:54 -0500
commitd876dddd45d4d8fa5d93396d3d922b720e273c99 (patch)
treec8ee36d89113af5af80e3e2d953a9b1bffc152b2 /engines/saga/saga.h
parent42bb9a226447863c670273443b7debfede10f5f1 (diff)
downloadscummvm-rg350-d876dddd45d4d8fa5d93396d3d922b720e273c99.tar.gz
scummvm-rg350-d876dddd45d4d8fa5d93396d3d922b720e273c99.tar.bz2
scummvm-rg350-d876dddd45d4d8fa5d93396d3d922b720e273c99.zip
SAGA: Rework the way audio is buffered
The streams that are created are now used directly instead of SAGA creating its own RawStream after decoding it. In addition, this should fix ADPCM-compressed sounds on big endian systems (as the code was treating the result of readBuffer() to always be LE, whereas it's actual native endian). I've also clarified the bugfix to bug #1256701. It only applies to 16-bit PCM data and the size for other data is no longer truncated too ;)
Diffstat (limited to 'engines/saga/saga.h')
-rw-r--r--engines/saga/saga.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/engines/saga/saga.h b/engines/saga/saga.h
index a9bd1335e6..829425aeaf 100644
--- a/engines/saga/saga.h
+++ b/engines/saga/saga.h
@@ -208,19 +208,6 @@ enum PanelButtonType {
kPanelAllButtons = 0xFFFFF
};
-enum GameSoundTypes {
- kSoundPCM = 0,
- kSoundVOX = 1,
- kSoundVOC = 2,
- kSoundWAV = 3,
- kSoundMP3 = 4,
- kSoundOGG = 5,
- kSoundFLAC = 6,
- kSoundAIFF = 7,
- kSoundShorten = 8,
- kSoundMacSND = 9
-};
-
enum TextStringIds {
kTextPickUp,
kTextLookAt,