Version:
1.1
Date:
Wednesday, November 1, 2000
Description:
This example contains both MP3 Player FillBuffer and MP3 Player ConvertBuffer:
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.
Introduction to Sound
Requirements: CodeWarrior Pro 5 or 6, Mac OS 9.0.4 with CarbonLib 1.1+, QuickTime 4.1.2 or Mac OS X Public Beta, Universal Interfaces 3.4a6+.
Samples are designed to work with CodeWarrior 2 or later and Universal Interfaces 3.2 unless otherwise noted. Archives can be uncompressed with StuffIt Expander 5.0 or later.
|