mirror of https://github.com/mpv-player/mpv
Revert "ao/audiounit: include AVAudioSession buffer in latency calc"
This reverts commit 8b114e574a
.
This commit is contained in:
parent
00e3c90fb1
commit
9f0381c51b
|
@ -218,7 +218,7 @@ static void start(struct ao *ao)
|
|||
struct priv *p = ao->priv;
|
||||
AVAudioSession *instance = AVAudioSession.sharedInstance;
|
||||
|
||||
p->device_latency = [instance outputLatency] + [instance IOBufferDuration];
|
||||
p->device_latency = [instance outputLatency];
|
||||
|
||||
OSStatus err = AudioOutputUnitStart(p->audio_unit);
|
||||
CHECK_CA_WARN("can't start audio unit");
|
||||
|
|
Loading…
Reference in New Issue