Easy AudioFile Question
Easy AudioFile Question
- Subject: Easy AudioFile Question
- From: Benedict Singer <email@hidden>
- Date: Mon, 28 Jul 2003 17:21:15 +0200 (MEST)
Lo again all,
So now I've moved on from worrying about AudioConverters to worrying about
AudioFiles. Specifically, AIFF files. Now, my issue is that
AudioFileReadBytes takes a void* for the parameter it uses to return data.
So I don't know if I need to do any type conversion before feeding it to
my other routines or not. So, my questions are 1) what type (float, short,
whatever) would this be giving me for an AIFF file, and 2) is there
somewhere (in the format description, say) that would tell me this easily?
From some quick reading online it appears that AIFF files use chars as the
datatype, but I don't know if AudioFileReadBytes is going to change this
or not.
As a quick follow-up question: the reason I'm working with AIFF files is
that I'm working with CD's. Is there a nicer way with CoreAudio to deal
with Audio CD's than by just treating them as a bunch of AIFF files?
As a second follow-up, from my questions on this list, you can probably
tell I don't really have any background in audio work. Can anybody point
me towards a good basic reference, preferably online? Things like packet,
frame, samples are all things that I keep needing to know, and don't. So
far I've been doing ok thanks to some nice docs in the header files and a
couple questions to this list, but it'd be good to know this stuff myself!
TIA,
Ben
_______________________________________________
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.