After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 513857 - volume setting delay against player's control
volume setting delay against player's control
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.10.17
Other All
: Normal minor
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 562046 (view as bug list)
Depends on:
Blocks: 574882
 
 
Reported: 2008-02-02 10:40 UTC by Andrew Gaydenko
Modified: 2010-07-09 12:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andrew Gaydenko 2008-02-02 10:40:05 UTC
Have tried two players (exaile and yauap) using gstreamer alsa plugin, and at both cases the same issue takes place: volume changes after annoying delay (~1 sec) after player's volume control was changed. 'hdsp' alsa driver is in use.

Other information:
Comment 1 Jan Schmidt 2008-02-02 11:50:58 UTC
This is because the volume control is implemented in software by scaling the audio samples that are sent to the device.

By default though, the alsa plugin is set to use 200ms of buffering in the audio device - to prevent buffer underruns and dropouts.

You can try setting your sound output to 'Custom' and give it a value like 'alsasink buffer-time=100000' or smaller, and you'll get faster volume changes, at the expense of possibly more dropouts.

The buffer-time property is in microseconds.
Comment 2 Andrew Gaydenko 2008-02-02 13:17:06 UTC
Jan,

I have tried even 'buffer-time=50000', but the delay still takes place. And last one is still ~1 sec.
Comment 3 Wim Taymans 2008-02-05 18:00:37 UTC
maybe they don't use the gconf settings.
Comment 4 Andrew Gaydenko 2008-02-05 18:41:06 UTC
I have also tried with pulse gst plugin and got the same effect. It is difficult to believe at all cases buffer is set to the same size which is appropriate the same big delay.

At, say, mpd/alsa or jack cases the issue doesn't exist. If I understand well, hdsp driver has not many 'common' alsa mixer controls. May be it is the reason.
Comment 5 Alexander Kojevnikov 2009-06-24 12:51:01 UTC
*** Bug 562046 has been marked as a duplicate of this bug. ***
Comment 6 Alexander Kojevnikov 2009-06-24 12:51:09 UTC
*** Bug 574882 has been marked as a duplicate of this bug. ***
Comment 7 Tim-Philipp Müller 2010-05-15 12:44:57 UTC
Is this still an issue with current versions of GStreamer. We have a stream volume interface now, which totem/playbin2 etc. will use, so if you use an audio output that implements this (pulseaudio, oss4), it should work immediately.
Comment 8 Tobias Mueller 2010-07-09 12:28:56 UTC
Closing as OBSOLETE as per comment #7. Please reopen if this is still an issue.