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 558285 - Use libcanberra for sound events
Use libcanberra for sound events
Status: RESOLVED FIXED
Product: gnome-phone-manager
Classification: Other
Component: general
0.60
Other Linux
: Normal normal
: ---
Assigned To: none
none
Depends on:
Blocks:
 
 
Reported: 2008-10-28 19:06 UTC by Victor Osadci (Vic)
Modified: 2009-02-04 16:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Victor Osadci (Vic) 2008-10-28 19:06:11 UTC
To reproduce:

1. Make sure g-p-m is connected to a phone;
2. Receive a message - a sound notification is played;
3. Open "pavucontrol" and terminate the g-p-m playback stream;

Result:
100 % CPU usage.
Comment 1 Bastien Nocera 2008-10-28 19:24:54 UTC
This isn't a bug in gnome-phone-manager, but in playbin, or the sink (in this case pulsesink).

Would be easier to rip out that code and use libcanberra instead.
Comment 2 Bastien Nocera 2009-02-04 16:23:02 UTC
2009-02-04  Bastien Nocera  <hadess@hadess.net>

        * configure.in:
        * data/Makefile.am:
        * src/app.h:
        * src/main.c (main):
        * src/ui.c (idle_play_alert): Code removal galore, use
        libcanberra to play back sounds instead of GStreamer
        (Closes: #558285)