rbatten / gnome-mplayer

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

gnome-mplayer doesn't remember volume with software volume activated #675

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start gnome-mplayer, Edit-Preferences-Mplayer, check "Have mplayer use the 
softvol option" and "Remember the software volume".
2. Set desired volume and play video. Close gnome-mplayer.
3. Open gnome-mplayer.

What is the expected output? What do you see instead?
In version 1.0.7 volume level is remembered, as expected. In version 1.0.8b 
volume is always at 100%.

What version of the product are you using? On what operating system?
Version 1.0.8b. Xubuntu 12.04.

Please provide any additional information below.
In the gnome-mplayer output, you can see "GMLIB-Message: Using last volume of 
<last volume used>%". Nevertheless, volume bar and effective volume is at 100%.
Changing the audio output makes no difference.

Original issue reported on code.google.com by a.carret...@gmail.com on 9 Apr 2013 at 9:45

GoogleCodeExporter commented 8 years ago
Can you test SVN, problem was a side effect of fixing a hang when the 
application was reading from the device volume.

Original comment by kdeko...@gmail.com on 9 Apr 2013 at 2:00

GoogleCodeExporter commented 8 years ago

Original comment by kdeko...@gmail.com on 9 Apr 2013 at 2:01

GoogleCodeExporter commented 8 years ago
Hi kdekorte, SVN tested and the problem is gone.

That was fast :)

Thank you!

Original comment by a.carret...@gmail.com on 9 Apr 2013 at 5:01

GoogleCodeExporter commented 8 years ago
Hi kdekorte, this problem is back :(, but now the interface show remembered 
volume, while plays at full volume.

I have last revision (r2431).

Thanks!

Original comment by a.carret...@gmail.com on 17 Apr 2013 at 5:40

GoogleCodeExporter commented 8 years ago
Can you post a log "gnome-mplayer -v" of what you are seeing. Because I really 
have not touched this code since then.

Original comment by kdeko...@gmail.com on 17 Apr 2013 at 6:54

GoogleCodeExporter commented 8 years ago
I think I found and fixed the issue.r2432

Original comment by kdeko...@gmail.com on 17 Apr 2013 at 7:15

GoogleCodeExporter commented 8 years ago
Still not working.

Log attached. Remembered volume is 16, as it shows in the volume button, but it 
plays at 100 (much louder). When I move the volume slider one notch, the volume 
returns to the level shown in the volume button.

Thanks!

Original comment by a.carret...@gmail.com on 17 Apr 2013 at 8:30

Attachments:

GoogleCodeExporter commented 8 years ago
I don;t see why it is not working... in gui.c at line 1704 can you put this 
line in

printf("Setting gmtk volume to %lf\n",alsa_device.volume);

That should have the save as the widget

Original comment by kdeko...@gmail.com on 17 Apr 2013 at 10:56

GoogleCodeExporter commented 8 years ago
I have an error compiling (make results attached).

Thanks.

Original comment by a.carret...@gmail.com on 18 Apr 2013 at 7:15

Attachments:

GoogleCodeExporter commented 8 years ago
That is because I gave you the wrong line of code.. use this instead.

printf("Setting gmtk volume to %lf\n",audio_device.volume);

Original comment by kdeko...@gmail.com on 18 Apr 2013 at 12:39

GoogleCodeExporter commented 8 years ago
Thank you, compiled now.

The error still there. Log attached.

If it helps, I can see in lines 17 and 18 of the log that volume=0,00.

In version 1.0.7, those lines show volume=<last volume used>

Thanks.

Original comment by a.carret...@gmail.com on 18 Apr 2013 at 2:11

Attachments:

GoogleCodeExporter commented 8 years ago
I made one minor fix and then compiled with alsa disabled and it seems to be 
working for me now, when the default audio device is set to default

Original comment by kdeko...@gmail.com on 18 Apr 2013 at 7:39