rbatten / gnome-mplayer

Automatically exported from code.google.com/p/gnome-mplayer
GNU General Public License v2.0
0 stars 0 forks source link

Please add option in preferences for the initial volume #671

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'm forwarding another of Francesco's feature requests:

"... I instead would like to
have a fixed initial volume level (like, for instance, 20 %) and then
adjust it depending on the video I am watching

There is a "--volume" command-line option that lets me set an initial
volume level (in percentage). Hence, if I issue the following command:

  $ gnome-mplayer --volume 20 some-video.ogv

I get whatever initial volume I want, but:

 A) I have to type this command-line option each time

 B) I do not know how to pass this command-line option to gnome-mplayer
when it is used inside my web browser (gecko-mediaplayer plug-in)"

Original issue reported on code.google.com by s.ramac...@gmail.com on 9 Feb 2013 at 5:33

GoogleCodeExporter commented 8 years ago
There is already a preference for this. Just make sure softvol is enabled, and 
then set the initial volume. We do not save or set the volume when not under 
softvol as we don't want to adjust the system volume

Original comment by kdeko...@gmail.com on 9 Feb 2013 at 5:41

GoogleCodeExporter commented 8 years ago
I don't see what the request has to do with the system volume. I'm perfectly 
able to alter the volume of gnome-mplayer's audio output without using softvol 
and without changing the system volume. I've just tried that with both ALSA and 
the default output, which on my system is PulseAudio. So why not support it for 
those too?

Original comment by s.ramac...@gmail.com on 9 Feb 2013 at 5:55

GoogleCodeExporter commented 8 years ago
Additionally, I can't find a option for the initial volume. There is one to 
remember the volume level, but that's not what the user is asking about.

Original comment by s.ramac...@gmail.com on 9 Feb 2013 at 6:14

GoogleCodeExporter commented 8 years ago
Unless the selected ao says alsa or pulseaudio after the device name, the ao is 
automatically running is softvol mode. This also includes the generic alsa and 
pulseaudio device (i believe). The saved volume is the same volume as the one 
specified on the commandline. So if you set it to remember, it should use that 
value. If you want to force it to a specific value, you can always wrap 
gnome-mplayer in a shell script. And there is a dbus/gconf setting to tell 
gecko-mediaplayer to use a specific player. But by default it will use the 
first gnome-mplayer found in the path.

Original comment by kdeko...@gmail.com on 9 Feb 2013 at 6:27

GoogleCodeExporter commented 8 years ago
Okay, but I think that's all a bit confusing. There should be something to tell 
the user that selecting specific output devices automatically enables softvol.

Original comment by s.ramac...@gmail.com on 9 Feb 2013 at 6:35

GoogleCodeExporter commented 8 years ago
I can probably add that to the label of the selected audio device

Original comment by kdeko...@gmail.com on 9 Feb 2013 at 7:35