All of lore.kernel.org
 help / color / mirror / Atom feed
From: Xuebing Wang <xbing6@gmail.com>
To: alsa-devel@alsa-project.org,
	richard Jiang <Richard.Jiang@infocus.com>,
	niranjan Patil <Niranjan.Patil@infocus.com>
Subject: [USB UAC2] How to route pcm stream for UAC2 virtual sound card for lowest latency?
Date: Tue, 10 Mar 2015 16:27:33 +0800	[thread overview]
Message-ID: <54FEAAF5.1090306@gmail.com> (raw)

Hi Community,

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, for the lowest 
latency purpose?

Thanks.

-- 
Xuebing

             reply	other threads:[~2015-03-10  8:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-10  8:27 Xuebing Wang [this message]
2015-03-10  8:30 ` [USB UAC2] How to route pcm stream for UAC2 virtual sound card for lowest latency? Clemens Ladisch

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=54FEAAF5.1090306@gmail.com \
    --to=xbing6@gmail.com \
    --cc=Niranjan.Patil@infocus.com \
    --cc=Richard.Jiang@infocus.com \
    --cc=alsa-devel@alsa-project.org \
    /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.