From 863a0e5c6f4dc3407391e18541963ac218ed8fbc Mon Sep 17 00:00:00 2001 From: ulion Date: Tue, 13 Nov 2007 15:08:17 +0000 Subject: [PATCH] Remove an useless conditional suggested by Emanuele Giaquinta. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25035 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libao2/ao_macosx.c | 2 -- 1 file changed, 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); -- 2.11.4.GIT