Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

calling play() is slow #32

Open
stephanschulz opened this issue Mar 10, 2018 · 1 comment
Open

calling play() is slow #32

stephanschulz opened this issue Mar 10, 2018 · 1 comment

Comments

@stephanschulz
Copy link

I have 700 audio files that I manually loop by checking their playhead position against their duration.
In previous versions on an older system this worked fine.
But on OSX 10.12 with OF 0.10. this slowed my app down to 1fps.

So I made a custom resetToStart() function that basically does the same as play() but does not all of the priming.

https://github.com/antimodular/ofxAudioUnit/blob/b09d380ce3396c38aa700e4d5ca2ef7c112bc15b/src/ofxAudioUnitFilePlayer.cpp#L267-L293

@dimitre
Copy link

dimitre commented Apr 24, 2018

are you compiling ok for 0.10 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants