Re: Master volume doesn't affect rearspeakers(SBLive5.1)

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

 



Hi!
Thanks for the "channels 6" tip. I forgot to copy it (I had to do typeit manually). Here's the new asoundrc (for those who are interested):
----
# firstpcm.!default {	type		plug	slave.pcm	"softvol"}
# secondpcm.softvol {	type	softvol	slave {		pcm	"dmix"	}	control {		name	"Master"		card	0	}}
# thirdpcm.dmix {	type	dmix	ipc_key	1024	slave {		pcm	"hw:0,0"		rate	48000		channels	6		period_time	0		period_size	1024		buffer_time	0		buffer_size	4096	}}
----
I just reversed the order of the softvol and dmix plugin to test whetherit works. Unfortunately, it doesn't. If I try to use a dmix device whichhas a non-hardware slave, I get the error:
"ALSA lib pcm_dmix.c:869(snd_pcm_dmix_open) dmix plugin can be onlyconnected to hw plugin"
The reason must be the way the plugin works internal. I think the multiplugin has a comparable limitation (that's only a guess, I don't geterrors, just no sound).
Greets, Ingo

Sebastian Schäfer schrieb:> Hi!> > The AlSA documentation does not mention such a limitation, and it would> be way more logical to me :-)> > Link to the docs:> http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html#pcm_plugins_dmix> > BTW: Have you tried adding "channels 6" to the softvol and/or dmix> definition?> > Best regards,> Sebastian> > On Mi, 2007-01-10 at 10:51 +0100, Ingo Müller wrote:>> Hi!>>>> As far as I understand it, "theoretically", it should work both ways.>> You still have to do it the way that the dmix device is the last device,>> because the dmix plugin requires a hardware slave (AFAIK). It can't pass>> the sound data to a virtual device like softvol.>>>> Greets, Ingo>>>> Sebastian Schäfer schrieb:>>> Hi!>>>>>> Possibly I am wrong, but shouldn't the order of softvol and dmix be just>>> the other way round, so that all the streams are mixed together and then>>> routed through softvol which outputs directly on the hardware?>>>>>> Best regards,>>> Sebastian>>>

-------------------------------------------------------------------------Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT & business topics through brief surveys - and earn cashhttp://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________Alsa-user mailing listAlsa-user@xxxxxxxxxxxxxxxxxxxxxxxxxx://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux