|
From: | Michael Dickens |
Subject: | Re: [Discuss-gnuradio] Changes to Audio Sink / Source ? |
Date: | Wed, 30 Nov 2005 17:41:42 -0500 |
On Nov 30, 2005, at 5:19 PM, Eric Blossom wrote:
OS/X question: does CoreAudio resample for you, or are you restricted tothe 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.
[Prev in Thread] | Current Thread | [Next in Thread] |