From: Clemens Ladisch <clemens@ladisch.de>
To: Xuebing Wang <xbing6@gmail.com>,
alsa-devel@alsa-project.org,
richard Jiang <Richard.Jiang@infocus.com>,
niranjan Patil <Niranjan.Patil@infocus.com>
Subject: Re: [USB UAC2] How to route pcm stream for UAC2 virtual sound card for lowest latency?
Date: Tue, 10 Mar 2015 09:30:45 +0100 [thread overview]
Message-ID: <54FEABB5.8060905@ladisch.de> (raw)
In-Reply-To: <54FEAAF5.1090306@gmail.com>
Xuebing Wang wrote:
> I am developing a commercial product based on Freescale iMX6SL + UAC2.
>
> I can get UAC2 working for below command. 'hw:1,0' is the virtual sound card. 'hw:0,0' is the physical sound card.
> export RATE=44100; arecord -D hw:1,0 -c 2 -r $RATE -f S16_LE | aplay -c 2 -r $RATE -f S16_LE &
>
> Any suggestions on what is the best way to get PCM stream from UAC2
> virtual sound card and feed to the physical sound card?
This will not work unless the clocks of the virtual sound card (i.e.,
the USB bus clock) and the clock of the actual sound device are
synchronized.
Otherwise, you have to write your own UAC2 driver.
Regards,
Clemens
prev parent reply other threads:[~2015-03-10 8:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-10 8:27 [USB UAC2] How to route pcm stream for UAC2 virtual sound card for lowest latency? Xuebing Wang
2015-03-10 8:30 ` Clemens Ladisch [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54FEABB5.8060905@ladisch.de \
--to=clemens@ladisch.de \
--cc=Niranjan.Patil@infocus.com \
--cc=Richard.Jiang@infocus.com \
--cc=alsa-devel@alsa-project.org \
--cc=xbing6@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.