View previous topic :: View next topic |
Author |
Message |
bl00dseeker n00b
Joined: 27 Feb 2007 Posts: 70
|
Posted: Tue Sep 04, 2007 9:01 pm Post subject: Different volumes in programs using alsa possible? |
|
|
I want to have different volumes in my programs. For example i want ncmpc to play the music at 40% of maximum volume and mplayer with 90%, but if i change the volume in ncmpc it reduces the volume in mplayer, too. Same the other way. Is there a way to prevent programs using the alsamixer "master" and use their own volume control? |
|
Back to top |
|
|
Dottout l33t
Joined: 07 Mar 2006 Posts: 882
|
Posted: Wed Sep 05, 2007 1:45 pm Post subject: |
|
|
with mplayer you can use softvol option. alsa-lib also has in ALSA_PCM_PLUGINS the sotvol option but I ignore its meaning |
|
Back to top |
|
|
bl00dseeker n00b
Joined: 27 Feb 2007 Posts: 70
|
Posted: Thu Sep 06, 2007 1:29 pm Post subject: |
|
|
thx with mplayer it works now. But is there no general way for this? |
|
Back to top |
|
|
bunder Bodhisattva
Joined: 10 Apr 2004 Posts: 5934
|
Posted: Thu Sep 06, 2007 2:17 pm Post subject: |
|
|
check for software mixing... it will use its own mixer relative to your alsa mixer's volume. not all apps support it, ymmv.
cheers _________________
Neddyseagoon wrote: | The problem with leaving is that you can only do it once and it reduces your influence. |
banned from #gentoo since sept 2017 |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Thu Sep 06, 2007 2:20 pm Post subject: |
|
|
Not directly related, but I think that the phonon engine for kde4 will support this (I am not seeking the kde4 devel too closely). So, you should be able to control the relative volume and other things of all the phonon based programs in an easy way. |
|
Back to top |
|
|
BlackEdder Advocate
Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
Posted: Thu Sep 06, 2007 4:52 pm Post subject: |
|
|
Pulseaudio also supports this. |
|
Back to top |
|
|
|