From df198110eda6de21d49f86375e63b09002088b33 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Mon, 2 Oct 2023 19:13:27 -0700 Subject: [PATCH] Hopefully fix format change on end of track This should keep the audio pipeline flowing either way. Signed-off-by: Christopher Snowhill --- Audio/Output/OutputCoreAudio.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Audio/Output/OutputCoreAudio.m b/Audio/Output/OutputCoreAudio.m index b9790a91f..ba142838a 100644 --- a/Audio/Output/OutputCoreAudio.m +++ b/Audio/Output/OutputCoreAudio.m @@ -835,6 +835,8 @@ current_device_listener(AudioObjectID inObjectID, UInt32 inNumberAddresses, cons streamFormatChanged = NO; if(inputRendered) { resetStreamFormat = YES; + // This may not get called otherwise + [self processEndOfStream]; break; } else { [self updateStreamFormat];