I'm debugging a play thru error I've got, and I've noticed some behavior I don't understand.
I'm playing system sound to the Soundflower 2(ch) device (some of you may be familiar with this open-sourced driver from Cycling74).
I'm using this as my input device. Without any audio playing (from iTunes, for example) - My playthru gets initial sample times of "29" (or, rather, very low numbers).
If I restart my app. And have sound playing through iTunes, then the first sample time I see in the input proc comes out at about 42513 (or similar).
My question is - is this valid? An input proc can receive sound with any sample time? Do I take it that the sample time provided to the input render proc is whatever time the device connected to the render proc gives out?
I'm assuming "yes", but wanted to check here.
Also, is there a definitive API doc for what I can expect to receive in the params to an input proc and what my return code should be? I looked up AURenderCallback but there's very little (i.e: zero) in the way of descriptive doc in the API reference itself.
|