Re: PlayAudioFileLite example
Re: PlayAudioFileLite example
- Subject: Re: PlayAudioFileLite example
- From: William Stewart <email@hidden>
- Date: Fri, 20 Jul 2007 12:03:36 -0700
Have a look at:
/Developer/Examples/CoreAudio/SimpleSDK/PlayFile
BIll
On 19/07/2007, at 6:41 PM, David Cohn wrote:
Hey all,
I'm not an audio guru, but I've been assigned the task of getting a
pre-existing audio library to do fairly simple playback and
recording using CoreAudio. The "PlayAudioFileLite" example in the
Apple sample code seems to be the closest fit to what I'm trying to
do, but the code is stamped with the dire warning:
Important: The information in this document is Not Recommended and
should not be used for new development
The code indeed has some bugs, lacks good error checking, and isn't
written with the best style (at least, not standard Apple stuff),
but is the basic methodology somehow problematic? Basically, it
sets up an AudioConverter, then in the renderCallback uses
AudioConverterFillComplexBuffer to call another callback to copy
data into the ioData buffers.
What, if any, are the problems of using this approach? And what
are the preferred alternatives? Even for such a simple path, are
AUGraphs the way to go?
Thanks for the assist,
--Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden