(svn r17140) -Change: allow higher sample rate and higher quality samples. Based on work by orudge.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user