Capturing audio output to a file
Capturing audio output to a file
- Subject: Capturing audio output to a file
- From: Matt Slot <email@hidden>
- Date: Thu, 21 Jun 2001 14:47:05 -0400
We are working on a port of our popular Snapz Pro image and movie capture
tool to OSX, and an important part of the functionality is the ability to
record *all* software generated audio for short periods of time.
Under OS9 (OSIX), we used the component manager to capture each registered
output device, so that we could be inserted into the chain after the Apple
mixers and right before the audio went to the speaker. This was similar to
the AIFFWriter sample code that Apple provided, but worked globally instead
of on just one channel.
Under OSX, there seem to be several places that we can hook into the
CoreAudio and IOKit subsystems, but while I do my research, I'm looking for
suggestions about the best way to implement this feature. Again, we need a
global "wiretap" so that we can grab any sound, including Classic and any
digital audio, that is being pumped to the current sound output device.
Thanks for any help you can provide,
Matt