I'm working with the instrument tuner plugin, trying to work out some
glitches and I was wondering if anyone could help me with this.  I'm
trying to figure out a little more about how recording works.
Specifically, when I call pcm_record_data(), what's the format of the
data it loads into my buffer?  From examining it while debugging on my
h120 it seems like it's interleaved stereo (left, right, left, right,
etc) signed 16 bit samples.  What threw me off was that it gives me
stereo even when recording from the internal mic, which is a mono
device.

So I guess my question is, can I reliably expect the recording on all
devices with the capability to provide an interleaved signed 16-bit
data stream?  If not, are there any defines anywhere that will tell me
the format for the current platform?  If not, shouldn't there be?

Anyway, any help would be appreciated.  Thanks!

-David

Reply via email to