What is the difference between CAStreamBasicDescription
and AudioStreamBasicDescription
? Thanks.
views:
16answers:
1
A:
CAStreamBasicDescription is just a wrapper class around AudioStreamBasicDescription. Just look at the .h file usually located at: /Developer/Extras/CoreAudio/PublicUtility/
I usually don't use CAStreamBasicDescription, but use AudioStreamBasicDescription directly. If you are looking for little help on how to fill the AudioStreamBasicDescription structure just use the function FillOutASBDForLPCM.
Steph
2010-10-27 14:58:26
I've found CAStreamBasicDescription invaluable for debugging, as it makes it easy to print out the format. But I typically use ASBD directly as well.
sbooth
2010-10-27 16:09:41
Got it. Thanks! André
André
2010-10-27 16:44:41