Removed 3 second thing
parent
bb9f463b52
commit
a73d6cb4ce
5
Sound.m
5
Sound.m
|
@ -136,10 +136,7 @@ static OSStatus Sound_Renderer(void *inRefCon, AudioUnitRenderActionFlags *ioAc
|
|||
[sound->readRingBuffer didReadLength:amountToRead];
|
||||
|
||||
sound->currentPosition += amountToRead;
|
||||
|
||||
if (sound->currentPosition > 1764000)
|
||||
[sound stop];
|
||||
|
||||
|
||||
[sound->readLock unlock];
|
||||
|
||||
return err;
|
||||
|
|
Loading…
Reference in New Issue