(svn r25714) -Fix: explicitly cast some things to silence warnings on GCC 4.0
This commit is contained in:
@@ -67,7 +67,7 @@ const char *SoundDriver_Cocoa::Start(const char * const *parm)
|
||||
requestedDesc.mBytesPerFrame = requestedDesc.mBitsPerChannel * requestedDesc.mChannelsPerFrame / 8;
|
||||
requestedDesc.mBytesPerPacket = requestedDesc.mBytesPerFrame * requestedDesc.mFramesPerPacket;
|
||||
|
||||
MxInitialize(requestedDesc.mSampleRate);
|
||||
MxInitialize((uint)requestedDesc.mSampleRate);
|
||||
|
||||
/* Locate the default output audio unit */
|
||||
desc.componentType = kAudioUnitType_Output;
|
||||
|
Reference in New Issue
Block a user