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

Fix OSX audio problems #9

Closed
cjcliffe opened this issue Nov 25, 2014 · 1 comment
Closed

Fix OSX audio problems #9

cjcliffe opened this issue Nov 25, 2014 · 1 comment

Comments

@cjcliffe
Copy link
Owner

Having issues using PortAudio and LibAO in a thread -- OSX won't give them enough priority to be functional? Always under-running the buffer in a thread even with blocking write and high priority audio I/O thread. I/Q thread and demod thread are already pushing way more data than audio without a hiccup...

Current options:

  1. Keep monkeying with pthread native flags and settings, not sure if it's the threading at this point; looks like audio lib internals
  2. Write custom audio layer for OSX and figure out the issue myself
  3. Give https://github.com/thestk/rtaudio by @thestk a try and see if it solves anything.
  4. Switch to pthreads entirely? Would prefer to keep std::thread and don't think this would help as std::thread is apparently already using pthreads on OSX
@cjcliffe
Copy link
Owner Author

cjcliffe commented Dec 6, 2014

Going to close this as RtAudio is the answer -- Now it's just a matter of balancing out the threads IMHO

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

1 participant