summaryrefslogtreecommitdiffstats
path: root/audio/out
diff options
context:
space:
mode:
Diffstat (limited to 'audio/out')
-rw-r--r--audio/out/ao_coreaudio_exclusive.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/audio/out/ao_coreaudio_exclusive.c b/audio/out/ao_coreaudio_exclusive.c
index 3a64de5049..5cdf4d93e2 100644
--- a/audio/out/ao_coreaudio_exclusive.c
+++ b/audio/out/ao_coreaudio_exclusive.c
@@ -301,9 +301,6 @@ static int init(struct ao *ao)
MP_WARN(ao, "stream has non-native byte order, output may fail\n");
ao->samplerate = p->stream_asbd.mSampleRate;
- ao->bps = ao->samplerate *
- (p->stream_asbd.mBytesPerPacket /
- p->stream_asbd.mFramesPerPacket);
uint32_t latency_frames = 0;
uint32_t latency_properties[] = {