CoreAudio and Sound Input
CoreAudio and Sound Input
- Subject: CoreAudio and Sound Input
- From: Bill Kapralos <email@hidden>
- Date: Mon, 17 Mar 2003 15:11:44 -0500 (EST)
Hello
I recently placed a message re. using a Delta audio card with CoreAudio...
Thanks to all who responded - i am slowly figuring this out! I am able to
recognize the 12 inputs of the device etc. however, i have a question
regarding the actual recording process and would simply like to clear some
confusion up for myself regarding the use of the callback routines. I can
regsiter a callback routine for a particular device... I then "start" the
callback routine... This routine will then be continusouly called. Does
this have to be so? I mean, i may not necessarily want to record data
continuously but rather, have the choice of sending requesting for input
data when I please - do I have to have the continuous call to the callback
routine? Also, if this is the case, what is usually done to read the data
form the mics only when needed - is it typically a flag which is used to
indicate so (e.g. true = read, false = dont read) or can the time stamps
be used instead? Finally, regarding the interleaving of samples when
using multi-input devices, I'm assuming they are placed as follows (e.g.
for three channel device, channels 1,2,3): 1 2 3 1 2 3 1 2 3...
Some help would be greatly appreciated - i have tried reading several
manuals from Apple etc. but still a little unclear on this.
Thanks!
_______________________________________________
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.