Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
scaudiocompress is posted (finally!)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scaudiocompress is posted (finally!)



Many folks have been waiting for the scaudiocompress sample.  It is live.  Fetch it here:

http://developer.apple.com/samplecode/scaudiocompress/index.html

-Brad Ford
QuickTime Engineering


Description

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.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.