public inbox for alsa-devel@alsa-project.org
 help / color / mirror / Atom feed
* USB-Audio.conf routing and dmix
@ 2015-05-09  0:20 sylvain.bertrand
  2015-05-11 19:57 ` sylvain.bertrand
  2015-05-15  8:13 ` Raymond Yau
  0 siblings, 2 replies; 9+ messages in thread
From: sylvain.bertrand @ 2015-05-09  0:20 UTC (permalink / raw)
  To: alsa-devel

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-05-15 13:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-09  0:20 USB-Audio.conf routing and dmix sylvain.bertrand
2015-05-11 19:57 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox