On Nov 30, 2005, at 5:19 PM, Eric Blossom wrote:
OS/X question: does CoreAudio resample for you, or are you
restricted to
the rates that the card supports natively? As I recall, most macs
only support a couple of rates.
CoreAudio does everything necessary to convert inputs to appropriate
outputs. This includes changing the sample rate, converting between
formats (float to e.g. Int32), and lots of other things. My gr-audio
driver is pretty bare bones ... allowing as many channels as desired
but doing nothing fancy with them.
CoreAudio is an abstraction / conversion / interpretation layer
between drivers / applications and hardware. It provides a
consistent API to the latter, while using the former natively and to
its capabilities.
Hence, I can assign (as far as I can tell in testing; e.g. 11235) any
sampling rate and CoreAudio converts it for me.
BTW> In examples/audio, it seems like the "dst" in "multi_...",
"dial_...", and "mono..." generate way too much data. I don't think
this is a clock mismatch ... I haven't had time to look further;
maybe some who knows these things better than I could take a gander.
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio