PlayAudioFileLite example
PlayAudioFileLite example
- Subject: PlayAudioFileLite example
- From: David Cohn <email@hidden>
- Date: Thu, 19 Jul 2007 18:41:50 -0700
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