mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 12:02:23 +02:00
Remove an useless conditional suggested by Emanuele Giaquinta.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25035 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a910a6f799
commit
863a0e5c6f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user