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.
SoundPlayer
Last Revision: | Version 1.0, 2003-01-14 Shows how to play VBR and Non-VBR encoded audio using the SoundConverterFillBuffer API and QuickTime. |
Build Requirements: | |
Runtime Requirements: | Mac OS X QuickTime 6.0+, Mac OS X 10.1.5+, CodeWarrior Pro 8+, Project Builder 1.1.1+ |
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
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14