diff options
Diffstat (limited to 'libao2')
-rw-r--r-- | libao2/ao_macosx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libao2/ao_macosx.c b/libao2/ao_macosx.c index 6c9aedb838..9b73c36be0 100644 --- a/libao2/ao_macosx.c +++ b/libao2/ao_macosx.c @@ -445,7 +445,6 @@ int b_alive; } /* original analog output code */ - if (!aoIsCreated) { desc.componentType = kAudioUnitType_Output; desc.componentSubType = kAudioUnitSubType_DefaultOutput; desc.componentManufacturer = kAudioUnitManufacturer_Apple; @@ -470,7 +469,6 @@ int b_alive; ao_msg(MSGT_AO, MSGL_WARN, "Unable to initialize Output Unit component: [%4.4s]\n", (char *)&err); return CONTROL_FALSE; } - } size = sizeof(AudioStreamBasicDescription); err = AudioUnitSetProperty(ao->theOutputUnit, kAudioUnitProperty_StreamFormat, kAudioUnitScope_Input, 0, &inDesc, size); |