views:

16

answers:

1

What is the difference between CAStreamBasicDescription and AudioStreamBasicDescription? Thanks.

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
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
Got it. Thanks! André
André