Hopefully fix format change on end of track

This should keep the audio pipeline flowing either way.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
Christopher Snowhill 2023-10-02 19:13:27 -07:00
parent 4ddca15a8f
commit df198110ed
No known key found for this signature in database

View file

@ -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];