Bug 51230 - GNOME alert sounds cause discontinuities in music, but only the first time per track.
Summary: GNOME alert sounds cause discontinuities in music, but only the first time pe...
Status: RESOLVED MOVED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: misc (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-19 03:31 UTC by Will Thompson
Modified: 2018-07-30 09:41 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Will Thompson 2012-06-19 03:31:31 UTC
When playing a track in Banshee or Totem, GNOME alert sounds (such as the popping sound when changing volume, or the chime when hitting backspace in an empty text field) cause a discontinuity in the music the first time one is played during the track.

I experimented briefly with VLC and mplayer: the issue doesn't seem to occur with these. So perhaps the issue lies with GStreamer rather than Pulse? Pulse seems like a reasonable starting point anyway.

Steps to reproduce:

1. Open a piece of music (with a prominent beat, to make it easy to hear the discontinuity) in Totem, and press play.
2. In an empty Gtk text field (the text entry in an Empathy conversation window works fine), listen carefully and hit backspace to trigger an alert sound.
3. You should notice a very small chunk of the music is skipped when the alert plays.
4. Now hit backspace again. No discontinuity this time.
5. Skip to another track in the player, and repeat. The first alert tone will again cause a discontinuity.

Relevant Debian package versions:

gstreamer0.10-pulseaudio:amd64 0.10.31-3
libcanberra-pulse:amd64 0.28-4
libpulse0:amd64 2.0-3
pulseaudio 2.0-3
vlc 2.0.1-4+b2
vlc-plugin-pulse 2.0.1-4+b2
mplayer 2:1.0~rc4.dfsg1+svn34540-1+b2

My /etc/pulse/daemon.conf is unmodified from the distro-supplied (and, I presume, upstream-supplied) default, where every line is commented out. Arun suggested setting:

  deferred-volume-extra-delay-usec = 10000

To my ears, this made the discontinuity slightly more pronounced.

Arun said:

> so the problem is likely something broken with rewinds
> mixing in a new sound means rewinding buffers, rendering new, mixed output
Comment 1 Jonny Lamb 2012-07-02 07:07:49 UTC
I hit the same problem but have the GNOME sound alerts disabled (omg I hate noise!)
Comment 2 GitLab Migration User 2018-07-30 09:41:35 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/96.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.