Re: What is the command line commands to use UAC2 at USB client side?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 19, 2014 at 2:15 PM, Daniel Mack <daniel@xxxxxxxxxx> wrote:
> On 08/19/2014 02:01 AM, Xuebing Wang wrote:
>
>>>> root@imx6slevk:~#
>>>> root@imx6slevk:~# arecord -f dat -t wav -D hw:2,0 | aplay -D hw:0,0
>>>> Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
>>>> Playing WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
>>> Such a setup should work, I recently tried it myself.
>>>
>>> The other direction (capturing from host, playback on device), however,
>>> has a major problem as the device interface has no timing mechanism, and
>>> hence 'arecord | aplay' on the gadget side fails. I've prepared patches
>>> and a more comprehensive description for this, but I'm waiting for
>>> Andrzej's patches to be reviewed, as mine are based upon his.
>
Hmm... I tested 48KHz USB-IN without noise, 44.1KHz did show noise
though ... iirc

>> Thanks. You were trying UAC2, right?
>
> Yes.
>
However if used with defaults(i.e, 64KHz USB-OUT and 48KHz USB-IN)
there should be no noise because samples divide up into frame nicely.

>> Does it work with Windows 7/8 host?
>
> I have no idea, and no Windows box to test on.
>
IIRC Windows doesn't have native support for UAC2.

-jassi
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux