Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
MP3Player
Last Revision: | Version 1.0, 2003-01-14 First Version |
Build Requirements: | |
Runtime Requirements: | Carbon CodeWarrior Pro 6 or CodeWarrior Pro 7, Mac OS 9.1+ with CarbonLib 1.4+, QuickTime 5.02 or Mac OS X, Universal Interfaces 3.4. |
This example contains two targets:1) MP3 Player FillBuffer shows how to play VBR and Non-VBR MP3 encoded sound files using the SoundConverterFillBuffer APIs and QuickTime.2) MP3 Player ConvertBuffer shows how to play Non-VBR MP3 encoded sound files using the SoundConverterConvertBuffer APIs.Beyond this obvious difference both targets demonstrate the use of the GetSoundDescriptionExtension, and SoundConverterSetInfo APIs to retrieve and use the siDecompressorSettings atom.Egon's developer safety tip: The SoundConverterFillBuffer APIs available with CarbonLib 1.1 and higher are now the preferred set of APIs to use with the SoundConverter.http://developer.apple.com/techpubs/quicktime/qtdevdocs/RM/sndframe.htm#sound Requirements: CodeWarrior Pro 6 or CodeWarrior Pro 7, Mac OS 9.1+ with CarbonLib 1.4+, QuickTime 5.02 or Mac OS X, Universal Interfaces 3.4. Keywords: MP3, QuickTime Audio, SoundConverterFillBuffer, MP3
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14