aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound/audio32.cpp
diff options
context:
space:
mode:
authorColin Snover2016-06-29 16:33:05 -0500
committerColin Snover2016-06-30 15:15:12 -0500
commit28d97d0f552329d14833fe5da7b8998e2159fd73 (patch)
tree0e3d62c81c774b62b891af58cd4fa291cf2897ee /engines/sci/sound/audio32.cpp
parent4ee1901706e6e92d8c27f3acb9c4be75eaca5a3f (diff)
downloadscummvm-rg350-28d97d0f552329d14833fe5da7b8998e2159fd73.tar.gz
scummvm-rg350-28d97d0f552329d14833fe5da7b8998e2159fd73.tar.bz2
scummvm-rg350-28d97d0f552329d14833fe5da7b8998e2159fd73.zip
SCI32: Specify default hardware rates
This normally happens in SSCI when the audio hardware is initialised. CID 1357048
Diffstat (limited to 'engines/sci/sound/audio32.cpp')
-rw-r--r--engines/sci/sound/audio32.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/sound/audio32.cpp b/engines/sci/sound/audio32.cpp
index 20595b073b..ced88a3028 100644
--- a/engines/sci/sound/audio32.cpp
+++ b/engines/sci/sound/audio32.cpp
@@ -109,8 +109,11 @@ Audio32::Audio32(ResourceManager *resMan) :
_numActiveChannels(0),
_inAudioThread(false),
+ _globalSampleRate(44100),
_maxAllowedSampleRate(44100),
+ _globalBitDepth(16),
_maxAllowedBitDepth(16),
+ _globalNumOutputChannels(2),
_maxAllowedOutputChannels(2),
_preload(0),