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:
parent
4ddca15a8f
commit
df198110ed
1 changed files with 2 additions and 0 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue