summaryrefslogtreecommitdiff
path: root/src/sound/cocoa_s.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-08-09 23:04:08 +0000
committerrubidium <rubidium@openttd.org>2009-08-09 23:04:08 +0000
commit8e058c2d27961bdd1db883679b5743f418e8b854 (patch)
tree2f662623f2b81ae0cf44c9bb9366ac62139dd118 /src/sound/cocoa_s.cpp
parent9ee2a66c8620d2f47c0d7792847c90146dfc4f8e (diff)
downloadopenttd-8e058c2d27961bdd1db883679b5743f418e8b854.tar.xz
(svn r17140) -Change: allow higher sample rate and higher quality samples. Based on work by orudge.
Diffstat (limited to 'src/sound/cocoa_s.cpp')
-rw-r--r--src/sound/cocoa_s.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound/cocoa_s.cpp b/src/sound/cocoa_s.cpp
index f50b6bd94..4e4fdd20a 100644
--- a/src/sound/cocoa_s.cpp
+++ b/src/sound/cocoa_s.cpp
@@ -47,7 +47,7 @@ const char *SoundDriver_Cocoa::Start(const char * const *parm)
requestedDesc.mFormatID = kAudioFormatLinearPCM;
requestedDesc.mFormatFlags = kLinearPCMFormatFlagIsPacked;
requestedDesc.mChannelsPerFrame = 2;
- requestedDesc.mSampleRate = GetDriverParamInt(parm, "hz", 11025);
+ requestedDesc.mSampleRate = GetDriverParamInt(parm, "hz", 44100);
requestedDesc.mBitsPerChannel = 16;
requestedDesc.mFormatFlags |= kLinearPCMFormatFlagIsSignedInteger;