Core Audio: Fix pausing glitches
Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
parent
e64c279e45
commit
f8ee7e5e46
1 changed files with 2 additions and 0 deletions
|
@ -169,12 +169,14 @@ current_device_listener(AudioObjectID inObjectID, UInt32 inNumberAddresses, cons
|
|||
rendered = NO;
|
||||
}
|
||||
|
||||
#if 0
|
||||
if(faded && !paused) {
|
||||
resetting = YES;
|
||||
[self pause];
|
||||
started = NO;
|
||||
resetting = NO;
|
||||
}
|
||||
#endif
|
||||
|
||||
if(!started && !paused) {
|
||||
// Prevent this call from hanging when used in this thread, when buffer may be empty
|
||||
|
|
Loading…
Reference in a new issue