Removed 3 second thing
This commit is contained in:
parent
bb9f463b52
commit
a73d6cb4ce
1 changed files with 1 additions and 4 deletions
5
Sound.m
5
Sound.m
|
@ -136,10 +136,7 @@ static OSStatus Sound_Renderer(void *inRefCon, AudioUnitRenderActionFlags *ioAc
|
||||||
[sound->readRingBuffer didReadLength:amountToRead];
|
[sound->readRingBuffer didReadLength:amountToRead];
|
||||||
|
|
||||||
sound->currentPosition += amountToRead;
|
sound->currentPosition += amountToRead;
|
||||||
|
|
||||||
if (sound->currentPosition > 1764000)
|
|
||||||
[sound stop];
|
|
||||||
|
|
||||||
[sound->readLock unlock];
|
[sound->readLock unlock];
|
||||||
|
|
||||||
return err;
|
return err;
|
||||||
|
|
Loading…
Reference in a new issue