Version: 1.0

Posted: 2003-01-14

Build Requirements: N/A

Runtime Requirements: Mac OS X QuickTime 6.0+, Mac OS X 10.1.5+, CodeWarrior Pro 8+, Project Builder 1.1.1+

View Source Code:

Download Sample (“SoundPlayer.zip”, 406.5K)
Download Sample (“SoundPlayer.dmg”, 505.7K)



Description

SoundPlayer is based on PlaySoundFillBuffer.c originally part of the MP3 Player sample. It has now been updated and shows how to play VBR / Non-VBR encoded audio using the SoundConverterFillBuffer API and QuickTime. This includes VBR formats like MP3 and AAC encoded audio. SoundConverterFillBuffer is the preferred API to use with the SoundConverter. SoundConverterConvertBuffer should no longer be used as it does not support VBR formats and cannot be used with MPEG4 Audio. http://developer.apple.com/techpubs/quicktime/qtdevdocs/RM/sndframe.htm#sound Requirements: QuickTime 6.0+, Mac OS X 10.1.5+, CodeWarrior Pro 8+, Project Builder 1.1.1+ Keywords: QuickTime Audio, SoundConverterFillBuffer, MP3, AAC, MPEG-4 Audio

Document Revision History

Date Notes
2003-01-14Shows how to play VBR and Non-VBR encoded audio using the SoundConverterFillBuffer API and QuickTime.

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.