Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Typically, you don't just capture media and immediately dispose of it—you want to save the media to disk as you capture so that you can use it later. Fortunately, the SequenceGrabber makes this pretty easy.
Adding to the previous labs' code, the calls to set up the SequenceGrabber need to be changed to prepare for grabbing to disk. Specifically, the SGSoundChannel 's setUsage() call gets a flag to indicate that it will be writing the captured audio to disk: