summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/out/ao_coreaudio.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/audio/out/ao_coreaudio.c b/audio/out/ao_coreaudio.c
index 205078d2be..ff4fb62602 100644
--- a/audio/out/ao_coreaudio.c
+++ b/audio/out/ao_coreaudio.c
@@ -375,14 +375,6 @@ static int init_lpcm(struct ao *ao, AudioStreamBasicDescription asbd)
CHECK_CA_ERROR_L(coreaudio_error_audiounit,
"unable to set the input format on the audio unit");
- size = sizeof(uint32_t);
- err = AudioUnitGetProperty(p->theOutputUnit,
- kAudioDevicePropertyBufferSize,
- kAudioUnitScope_Input, 0, &maxFrames, &size);
-
- CHECK_CA_ERROR_L(coreaudio_error_audiounit,
- "unable to get buffersize from audio unit");
-
//Set the Current Device to the Default Output Unit.
err = AudioUnitSetProperty(p->theOutputUnit,
kAudioOutputUnitProperty_CurrentDevice,