Bug Fix: Track advancing when Rubber Band disabled
Apparently I somehow didn't notice this situation because I still had Rubber Band enabled, and existing users kept it enabled ever since I introduced it. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
parent
15eaa877b1
commit
fdd0244067
1 changed files with 3 additions and 0 deletions
|
@ -379,6 +379,9 @@ static void * kDSPRubberbandNodeContext = &kDSPRubberbandNodeContext;
|
|||
AudioChunk *chunk = nil;
|
||||
chunk = [self convert];
|
||||
if(!chunk || ![chunk frameCount]) {
|
||||
if(!ts) {
|
||||
flushed = previousNode && [[previousNode buffer] isEmpty] && [previousNode endOfStream] == YES;
|
||||
}
|
||||
if(flushed) {
|
||||
usleep(500);
|
||||
endOfStream = YES;
|
||||
|
|
Loading…
Reference in a new issue