mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Some minor tidying of the OS X audio and wiimote code.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6736 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -47,9 +47,10 @@ CoreAudioSound::~CoreAudioSound()
|
||||
bool CoreAudioSound::Start()
|
||||
{
|
||||
OSStatus err;
|
||||
UInt32 enableIO;
|
||||
AURenderCallbackStruct callback_struct;
|
||||
AudioStreamBasicDescription format;
|
||||
ComponentDescription desc;
|
||||
UInt32 enableIO = 1;
|
||||
|
||||
desc.componentType = kAudioUnitType_Output;
|
||||
desc.componentSubType = kAudioUnitSubType_DefaultOutput;
|
||||
@ -69,7 +70,6 @@ bool CoreAudioSound::Start()
|
||||
return false;
|
||||
}
|
||||
|
||||
enableIO = 1;
|
||||
AudioUnitSetProperty(audioUnit,
|
||||
kAudioOutputUnitProperty_EnableIO,
|
||||
kAudioUnitScope_Output, 0, &enableIO,
|
||||
|
Reference in New Issue
Block a user