Re: Software volume mixer for S/PDIF output

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

 



> So my question is: does ALSA support software volume control? The loss
> of quality (dynamics) is not so important to me in this case, I'd have
> it almost always on 100% - but would sometimes like to quickly reduce
> the volume. If it is supported, does it also work when playing back
> direct AC3 streams?
>
> If it can be done: how so?

Yes, there is a "softvol" plugin you can attach to an ALSA device that
will create a new mixer control.  Anything played through though that
device will be adjusted according to the softvol mixer control.

I would've thought your card would already have a hardware mixer that
supports turning the volume down though, but perhaps not.

I imagine you would also need a program like xbindkeys that can run a
command when a key is pressed, for example so you can press the "mute"
button on your keyboard to run "amixer" and get it to set the volume to
a low level.

It won't work when playing AC3 streams, as the decoding is done inside
the amplifier - but presumably whatever program is playing the AC3
stream has a pause button ;-)

Cheers,
Adam.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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