diff options
author | Michael Dickens <mlk@alum.mit.edu> | 2014-04-24 09:51:04 -0400 |
---|---|---|
committer | Tom Rondeau <tom@trondeau.com> | 2014-04-24 14:51:20 -0400 |
commit | 521e707297f9a5441cca559370a07b03a73b2abe (patch) | |
tree | 27e9df3f08d2ceb30aa5da0c2db7a958395dec96 /gnuradio-runtime/lib/thread | |
parent | 1c21dada05770fafac2d8ca53b90db83327af1d5 (diff) |
audio: osx audio fixes
- fix dequeue to return 3 when the requested number of items to dequeue is not the same as the actual number of items. fix comments to reflect this change as well as the actual input and output info for this variable.
- fix comments. fix debug printouts to be consistent.
- fix the AU callback to not throw, since it is not handled robustly by the OS routines that to the call. Add NOTE to this effect. Return better error codes when an issue arises.
- correctly convert d_buffer_sample_count to int before using it.
- when stopping: if waiting in ::work, signal the thread to wake up, in the hopes that it will correctly return and terminate. After stopping the AU, abort and reset buffers as well as clear our local knowledge about the amount of data in the queues.
Diffstat (limited to 'gnuradio-runtime/lib/thread')
0 files changed, 0 insertions, 0 deletions