Fix for short audio files.
parent
0be36644a6
commit
4e1f598ac4
|
@ -107,7 +107,11 @@
|
|||
|
||||
if ([converter outputBufferSize] <= 0)
|
||||
{
|
||||
NSLog(@"END OF FILE?!");
|
||||
if (initialBufferFilled == NO) {
|
||||
[controller initialBufferFilled];
|
||||
}
|
||||
|
||||
NSLog(@"END OF FILE?! %i %i", amountRead, amountConverted);
|
||||
endOfStream = YES;
|
||||
[controller endOfInputReached];
|
||||
break; //eof
|
||||
|
|
Loading…
Reference in New Issue