Public bug reported:

A startup script is being patched to load module-x11-bell with a given
sample name:

debian/patches/0006-load-module-x11-bell.patch:+    @PACTL_BINARY@ load-
module module-x11-bell "display=$DISPLAY" "sample=bell.ogg" > /dev/null

yet in the default example:
src/daemon/default.pa.in:#load-sample-lazy x11-bell 
/usr/share/sounds/freedesktop/stereo/bell.oga

As this is an example, no such sample gets loaded, but the patched
script does not use either of the desired sample name or the matching
file extension.

I recommend updating the script to load the module using
"sample=x11-bell" to be consistent with upstream and the fact that the
sample name is not specific to a given format.

This was discovered while trying to figure out how to set the bell sound
on XFCE.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: pulseaudio 1:8.0-0ubuntu3.3
ProcVersionSignature: Ubuntu 4.10.0-28.32~16.04.2-generic 4.10.17
Uname: Linux 4.10.0-28-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  kjotte     1626 F.... pulseaudio
CurrentDesktop: XFCE
Date: Tue Aug  1 12:43:03 2017
EcryptfsInUse: Yes
InstallationDate: Installed on 2011-12-09 (2061 days ago)
InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
SourcePackage: pulseaudio
UpgradeStatus: Upgraded to xenial on 2016-05-31 (427 days ago)
dmi.bios.date: 10/12/2016
dmi.bios.vendor: LENOVO
dmi.bios.version: 8DET73WW (1.43 )
dmi.board.asset.tag: Not Available
dmi.board.name: 4286CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: 
dmi:bvnLENOVO:bvr8DET73WW(1.43):bd10/12/2016:svnLENOVO:pn4286CTO:pvrThinkPadX220:rvnLENOVO:rn4286CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 4286CTO
dmi.product.version: ThinkPad X220
dmi.sys.vendor: LENOVO

** Affects: pulseaudio (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/1707966

Title:
  Inconsistent sample name used for x11-bell

Status in pulseaudio package in Ubuntu:
  New

Bug description:
  A startup script is being patched to load module-x11-bell with a given
  sample name:

  debian/patches/0006-load-module-x11-bell.patch:+    @PACTL_BINARY@
  load-module module-x11-bell "display=$DISPLAY" "sample=bell.ogg" >
  /dev/null

  yet in the default example:
  src/daemon/default.pa.in:#load-sample-lazy x11-bell 
/usr/share/sounds/freedesktop/stereo/bell.oga

  As this is an example, no such sample gets loaded, but the patched
  script does not use either of the desired sample name or the matching
  file extension.

  I recommend updating the script to load the module using
  "sample=x11-bell" to be consistent with upstream and the fact that the
  sample name is not specific to a given format.

  This was discovered while trying to figure out how to set the bell
  sound on XFCE.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: pulseaudio 1:8.0-0ubuntu3.3
  ProcVersionSignature: Ubuntu 4.10.0-28.32~16.04.2-generic 4.10.17
  Uname: Linux 4.10.0-28-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.10
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  kjotte     1626 F.... pulseaudio
  CurrentDesktop: XFCE
  Date: Tue Aug  1 12:43:03 2017
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-12-09 (2061 days ago)
  InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  SourcePackage: pulseaudio
  UpgradeStatus: Upgraded to xenial on 2016-05-31 (427 days ago)
  dmi.bios.date: 10/12/2016
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 8DET73WW (1.43 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 4286CTO
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Available
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: 
dmi:bvnLENOVO:bvr8DET73WW(1.43):bd10/12/2016:svnLENOVO:pn4286CTO:pvrThinkPadX220:rvnLENOVO:rn4286CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 4286CTO
  dmi.product.version: ThinkPad X220
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1707966/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to