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

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

 



Have you tried with the asymed plugin instead of dmix (which is what
alsa uses for default when there is no hw mixing)?
I will try it in the next days...

2007/1/10, Ingo Müller <alsa@xxxxxxxxxxxxxxx>:
> Hi!
>
> Thanks for the "channels 6" tip. I forgot to copy it (I had to do type
> it manually). Here's the new asoundrc (for those who are interested):
>
> ----
>
> # first
> pcm.!default {
>         type            plug
>         slave.pcm       "softvol"
> }
>
> # second
> pcm.softvol {
>         type    softvol
>         slave {
>                 pcm     "dmix"
>         }
>         control {
>                 name    "Master"
>                 card    0
>         }
> }
>
> # third
> pcm.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 whether
> it works. Unfortunately, it doesn't. If I try to use a dmix device which
> has a non-hardware slave, I get the error:
>
> "ALSA lib pcm_dmix.c:869(snd_pcm_dmix_open) dmix plugin can be only
> connected to hw plugin"
>
> The reason must be the way the plugin works internal. I think the multi
> plugin has a comparable limitation (that's only a guess, I don't get
> errors, 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 IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Alsa-user mailing list
> Alsa-user@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/alsa-user
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://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