Re: PlayAudioFile
Re: PlayAudioFile
- Subject: Re: PlayAudioFile
- From: "Steven A. Kortze" <email@hidden>
- Date: Mon, 31 Mar 2003 18:45:01 -0500
David, Benjamin and the rest of the list,
Thank you for your replies. Last night, I saved a copy of the AIFF CD
file to disk via QuickTime player and that fixed any problems. It
appears that it might be best just to use QuickTime to handle playback
of support audio formats. That way, I would have access to MP3 playback
as well as any other audio playback support.
Thanks again,
Steve
On Sunday, March 30, 2003, at 08:32 PM, David Duncan wrote:
On Sunday, March 30, 2003, at 06:38 PM, Steven A. Kortze wrote:
I am currently experimenting with some audio playback. So far, I have
been using the QuickTime SoundPlayer sample code. I tried using the
same audio file (an AIFF from an audio CD) with the PlayAudioFile
sample code and all that I get through my speakers is a bunch of
noise. It sounds like audio noise or the static that you used to hear
when a television station went off the air. I have verified that this
occurs with the built-in audio support as well as the M-Audio
Revolution sound card. Are there some known problems with this sample
code?
The sample code probably doesn't deal with the 'compression' from the
file. AIFF files from Audio CDs are in little-endian byte order, so
just playing without byte swapping will produce noise.
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.
David Duncan
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.