All of lore.kernel.org
 help / color / mirror / Atom feed
From: sylvain.bertrand@gmail.com
To: alsa-devel@alsa-project.org
Subject: USB-Audio.conf routing and dmix
Date: Sat, 9 May 2015 00:20:17 +0000	[thread overview]
Message-ID: <20150509002017.GB18945@freedom> (raw)

Hi,

I have a bose USB audio 5.1 device, a generic USB audio device.

I noticed that the proper channels routing was missing from the default generic
USB pcm, but dmix was used. And for the surround pcms I noticed it was the
other way around!

I did modify the default pcm to include a routing plugin. I put 8 channels in
the routing plugin. I guess the proper way would be to detect the hw card
number of channels and select a route plugin configuration with the correct
count of channels (maybe their is a function to get that info?).

I linked the surround51 and surround71 pcms with the 'disable-able' dmix
section from the default pcm.

I did not touch the surround40* pcms, surround pcms which are specific to some
cards and the iec958 ones.

http://filebin.ca/214UTT8fBnUm/USB-Audio.conf


regards,

-- 
Sylvain BERTRAND

             reply	other threads:[~2015-05-09  0:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-09  0:20 sylvain.bertrand [this message]
2015-05-11 19:57 ` USB-Audio.conf routing and dmix sylvain.bertrand
2015-05-13  9:24   ` Clemens Ladisch
2015-05-13 11:32     ` sylvain.bertrand
2015-05-15  2:07       ` sylvain.bertrand
2015-05-15  5:53         ` Alexander E. Patrakov
2015-05-15  5:58           ` Alexander E. Patrakov
2015-05-15  8:13 ` Raymond Yau
2015-05-15 13:16   ` sylvain.bertrand

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=20150509002017.GB18945@freedom \
    --to=sylvain.bertrand@gmail.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.