[pulseaudio-tickets] [PulseAudio] #439: early load of module-x11-bell leaves standard X bell active too
PulseAudio
trac-noreply at tango.0pointer.de
Sat Dec 20 19:46:55 PST 2008
#439: early load of module-x11-bell leaves standard X bell active too
--------------------------+-------------------------------------------------
Reporter: liblit | Owner: lennart
Type: defect | Status: new
Priority: normal | Milestone:
Component: module-x11-* | Severity: normal
Keywords: |
--------------------------+-------------------------------------------------
= Overview =
The standard X bell is not suppressed after I load `module-x11-bell`
during login. It is correctly suppressed if I subsequently unload and
reload that module, though.
= Details =
I run the following script on login to load up `module-x11-bell`:
{{{
#!/bin/sh -e
pactl upload-sample "$HOME/lib/bell.wav" x11-bell
pactl load-module module-x11-bell "display=$DISPLAY" sample=x11-bell
>/dev/null
xset b 100
}}}
The script is actually launched as part of the GNOME autostart system,
i.e., via a .desktop file in `~/.config/autostart`.
Once the session is up and going, X bell calls play the expected
!PulseAudio sample. However, they also produce the standard X bell at the
same time. That is unexpected and inconsistent with
[wiki:Modules#module-x11-bell the module-x11-bell documentation].
If I subsequently unload `module-x11-bell`, then we're back to the
standard X bell and no !PulseAudio sample. If I then reload
`module-x11-bell`, the standard X bell is suppressed and I hear only the
!PulseAudio sample. That is the expected, documented behaviour, and is
how things should have behaved the first time the module was loaded.
--
Ticket URL: <http://pulseaudio.org/ticket/439>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server
More information about the pulseaudio-bugs
mailing list