Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Version: 1.0

Posted: 2003-01-14

Build Requirements: N/A

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.

View Source Code:

Download Sample (“MP3Player.zip”, 59.8K)
Download Sample (“MP3Player.dmg”, 121.3K)



Description

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

Document Revision History

Date Notes
2003-01-14First Version

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.