★ wanayoo — archive 1999 http://developer.apple.com/samplecode/Sample_Code/Sound/MP3Player.htmNouvelle recherche | Portail wanayoo
Technical: Sample Code: Sound: MP3Player
ADC Membership Technical Business Join ADC Sitemap
Search
Sound
ADC Resources
Sample Code

MP3Player

download (58.5 KB)

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.
Gray line
 
Site Map | Search Tips | Options | Keywords

Contact Us | Privacy Notice
Copyright © 2000 Apple Computer, Inc. All rights reserved.
1-800-MY-APPLE