Stable: 2.5.2
Development: 2.6-alpha3
Hello
I've been using mocp for a while now (running under Fedora 23) and I find it to be a nice music player.
When I adjust the volume in mocp it affect the system volume, for example if I would turn down the volume to 0% in mocp, all other audio is also affected and entirely silent.
Is it possible to have a "application-only" volume control in mocp? This would be similar to for example VLC, audacious et.c and how those applications function. If I turn down the volume to 50% in VLC, it is only VLC that is affected.
tomaszg
Sun, 2016-05-01 09:59
Permalink
Moc volume settings
Moc volume settings corresponds to ALSA hardware mixer settings. You can use "Softmixer" in Moc to have independent volume control ('w' to enable, 'x' to switch mixer channel).
McIntosh
Sun, 2016-05-01 11:48
Permalink
All right, I enabled/switch
All right, I enabled/switch to softmixer and it worked well.
Is there any way to make mocp be in this state by default when the program is started? On startup it seems to reset to hardware mixer settings and I have to manually toggle the desired mode.
riesebie
Sun, 2016-05-01 12:21
Permalink
Check your config
Have look at Softmixer_SaveState and Equalizer_SaveState in your $HOME/.moc/config.
McIntosh
Sun, 2016-05-01 12:48
Permalink
Ok, I think I gave a bad
Ok, I think I gave a bad description of the issue I was thinking of.
Softmixer settings are saved in between instances of mocp, if I do a full quit (Q) and restart mocp settings (like volume) will be retained. I guess this is what you tought I was talking about?
The actual issue I had in mind is that when I do a full quit and restart mocp, volume control will start in 'hardware mixer'-mode. So I have to press x a few times to return to Softmixer when I start mocp.
tomaszg
Sun, 2016-05-01 23:11
Permalink
I don't think there is a way
I don't think there is a way short of modifying MOC source - you would only need to change the line:
static int current_mixer = 0;
in audio.c to
static int current_mixer = 2;
(but I didn't test it)
vectis
Tue, 2016-05-10 22:10
Permalink
Confirmed working
Just posting to confirm this does indeed work - tested on a Nokia N810 internet tablet build of MOC.