Skip to content

Commit

Permalink
coreaudio: Move from AudioUnits to AudioQueues.
Browse files Browse the repository at this point in the history
AudioQueues are available in Mac OS X 10.5 and later (and iOS 2.0 and later).
Their API is much more clear (and if you don't mind the threading tapdance
to get its own CFRunLoop) much easier to use in general for our purposes.

As an added benefit: they seemlessly deal with format conversion in ways
AudioUnits don't: for example, my MacBook Pro's built-in microphone won't
capture at 8000Hz and the AudioUnit version wouldn't resample to hide this
fact; the AudioQueue version, however, can handle this.
  • Loading branch information
icculus committed Sep 4, 2016
1 parent 3b53304 commit 0265d3a
Show file tree
Hide file tree
Showing 2 changed files with 173 additions and 206 deletions.

0 comments on commit 0265d3a

Please sign in to comment.