Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Different volumes in programs using alsa possible?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
bl00dseeker
n00b
n00b


Joined: 27 Feb 2007
Posts: 70

PostPosted: Tue Sep 04, 2007 9:01 pm    Post subject: Different volumes in programs using alsa possible? Reply with quote

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
View user's profile Send private message
Dottout
l33t
l33t


Joined: 07 Mar 2006
Posts: 882

PostPosted: Wed Sep 05, 2007 1:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
bl00dseeker
n00b
n00b


Joined: 27 Feb 2007
Posts: 70

PostPosted: Thu Sep 06, 2007 1:29 pm    Post subject: Reply with quote

thx with mplayer it works now. But is there no general way for this?
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5934

PostPosted: Thu Sep 06, 2007 2:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Thu Sep 06, 2007 2:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
BlackEdder
Advocate
Advocate


Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

PostPosted: Thu Sep 06, 2007 4:52 pm    Post subject: Reply with quote

Pulseaudio also supports this.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum