AudioConverter API clarification
AudioConverter API clarification
- Subject: AudioConverter API clarification
- From: "Phil Burk" <email@hidden>
- Date: Mon, 14 Oct 2002 12:08:00 -0700
Hello,
I have some API questions that I could not find answers to in the docs:
1) When I pass an AudioStreamBasicDescription pointer to
AudioConverterNew(), can I discard the AudioStreamBasicDescription after the
call? Are the values copied someplace safe? I'm assuming yes.
2) The AudioConverter callback has a UInt32 *ioDataSize parameter. The
header files says it contains on input the "minimum amount of data the
converter would like". In my test, that ranged from 8 to 1392 bytes. But I
always gave it 512 bytes because that was my buffer size. I did not get any
glitches. When I pass less than it asks for, will the converter survive and
just call me again right away for more data? Or am I tempting fate and going
to have problems down the road if I don't give it all the data it requests?
Also is there a limit to how much data I can give it?
Thanks,
Phil Burk
_______________________________________________
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.