|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
|Many folks have been waiting for the scaudiocompress sample. It is live. Fetch it here:|
scaudiocompress is a command line utility that illustrates usage of the SCAudio component SCAudioFillBuffer API's.
The scaudiocompress tool demonstrates how to read source packets of audio using AudioFile API (when reading from audio files) or MovieAudioExtraction (when sourcing from a QuickTime movie). The source data is pulled through the StdAudio compression chain, then written to an output file using AddMediaSample2 (if writing to a QuickTime movie), AudioFileWritePackets (if writing a .caf file), or fwrite (if writing a raw interleaved headerless pcm file). scaudiocompress can be run headlessly, or in "interactive" mode, popping up the StdAudio dialog to allow a user to select an output format, if desired.
The code runs on Mac OS X or Windows (NOTE: on Windows, reading/writing is limited to QuickTime movies, as the AudioFile API is not available in the Windows environment).
_______________________________________________ Do not post admin requests to the list. They will be ignored. QuickTime-API mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.