Closed admsyn closed 10 years ago
It looks like this isn't an infinite loop, it just hangs internally in a core audio call after setting kAudioUnitProperty_ScheduledFilePrime
sometimes.
headdesk
This looks like it was due to _seekSampleTime
not being initialized to 0, so the file player sometimes tried to seek to some random point in the future when priming the file player.
Pinging @jasonlevine since I think this had bitten you in the past. I think it's fixed now but please let me know if you ever experience it?
Will do! I'm deep in graphics land right now, as soon as I get a chance i'll stop by audio land and test it out. On Apr 24, 2014 3:55 PM, "Adam Carlucci" notifications@github.com wrote:
This looks like it was due to _seekSampleTime not being initialized to 0, so the file player sometimes tried to seek to some random point in the future when priming the file player.
Pinging @jasonlevine https://github.com/jasonlevine since I think this had bitten you in the past. I think it's fixed now but please let me know if you ever experience it?
— Reply to this email directly or view it on GitHubhttps://github.com/admsyn/ofxAudioUnit/issues/12#issuecomment-41324341 .
Not sure what the sequence of calls to trigger it is yet, but there's a way to get the file player to call
prime()
on itself in an infinite loop using the public API. That's no good.