summaryrefslogtreecommitdiffstats
path: root/libao2/ao_macosx.c
diff options
context:
space:
mode:
authorulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-13 15:08:17 +0000
committerulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-13 15:08:17 +0000
commit863a0e5c6f4dc3407391e18541963ac218ed8fbc (patch)
tree97abca897697ee40125a3183fb5fa39f4ef4cb08 /libao2/ao_macosx.c
parenta910a6f799b160084b06e7f2f82a4e64d15a006d (diff)
downloadmpv-863a0e5c6f4dc3407391e18541963ac218ed8fbc.tar.bz2
mpv-863a0e5c6f4dc3407391e18541963ac218ed8fbc.tar.xz
Remove an useless conditional suggested by Emanuele Giaquinta.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25035 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libao2/ao_macosx.c')
-rw-r--r--libao2/ao_macosx.c2
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);