summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fixes for libcanberra GStreamer backendBrian Cameron2009-01-211-120/+207
| | | | | | | | | | | | | | I wrote the attached patch to fix some bugs in the GStreamer backend of libcanberra. When you run gnome-sound-properties, and then enable "Play alerts and sound effects" on the "Sounds" tab, then click on one of the little arrow buttons to preview the sound, it plays okay. However, the second time you try clicking on any little arrow preview buttons it crashes. It does this even if you wait for the first sound to stop playing before playing the second sound. Signed-off-by: Lennart Poettering <lennart@poettering.net>
* Fix check for Stereo/Mono filesLennart Poettering2009-01-071-1/+1
| | | | This typo was pointed out by Geert Hedde Bosman.
* Remove X-GNOME-Autostart-Notify since it is obsoleteLennart Poettering2009-01-071-1/+0
|
* Run lc-l-s in "Application" phase of gnome-sessionLennart Poettering2008-12-141-1/+1
| | | | | | | | | There is no need to make g-s wait for this lc-l-s when it plays the welcome tune. Hence move it to "Application" phase instead of "Desktop" phase. This is a result of a discussion with Behdad Esfahbod to optimize the login time.
* make _change_device() call take a const stringLennart Poettering2008-10-268-8/+8
|
* avoid duplicate definition of 'signal' to make gcc shut upLennart Poettering2008-10-261-2/+2
|
* add a few more events that need to be implementedLennart Poettering2008-10-261-0/+3
|
* fix wording in documentationLennart Poettering2008-10-261-2/+2
|
* don't call the driver's destroy function when initialization failedLennart Poettering2008-10-261-0/+1
|
* reorder inclusionsLennart Poettering2008-10-261-7/+6
|
* since our module interfacing is not versioned, move the modules to a ↵Lennart Poettering2008-10-261-1/+1
| | | | versioned subdir
* remove AM_LIBADD again since it is pointlessLennart Poettering2008-10-051-1/+0
|
* minor build system fixesLennart Poettering2008-10-051-0/+1
|
* implement ca_memdup()Lennart Poettering2008-10-051-0/+13
|
* move ca_proplist_merge_ap()/ca_proplist_from_ap() to proplist.c where it belongsLennart Poettering2008-10-055-48/+49
|
* fix prefix of byte order macrosLennart Poettering2008-10-052-49/+49
|
* remove variable names from argument lists to avoid stupid compiler shadow ↵Lennart Poettering2008-10-051-5/+5
| | | | warnings
* explicitly cast to long to avoid compiler warningLennart Poettering2008-10-051-1/+1
|
* don't free sound_path on successLennart Poettering2008-10-031-1/+1
|
* fix a memory leakLennart Poettering2008-10-031-0/+4
|
* make ourselves residentLennart Poettering2008-10-031-0/+8
|
* Merge branch 'master' of ssh://rootserver/home/lennart/git/public/libcanberraLennart Poettering2008-09-261-1/+1
|\
| * Make tdb_context database staticMarc-André Lureau2008-09-111-1/+1
| | | | | | | | Signed-off-by: Lennart Poettering <lennart@poettering.net>
* | missing stdarg.h inclusion for OpenBSD compatibilityJasper Lievisse Adriaanse2008-09-261-0/+2
|/ | | | | | | | | hi, i'm in the process of creating a port of libcanberra for openbsd. there's currently a missing include in src/common.h Signed-off-by: Lennart Poettering <lennart@poettering.net>
* fix gcc warningLennart Poettering2008-09-091-1/+1
|
* Merge commit 'elmarco/upstream-master'Lennart Poettering2008-09-033-31/+45
|\
| * Fix formatting for function callsMarc-André Lureau2008-09-031-21/+21
| |
| * Avoid crash if gtk-settings is NULLMarc-André Lureau2008-09-031-0/+2
| |
| * Support playing events with file specifiedMarc-André Lureau2008-09-031-6/+11
| |
| * Add --version and short form version for argumentsMarc-André Lureau2008-09-021-5/+12
| |
* | don't use tdb's mmap support for now since it is broken, rhbz 460851Lennart Poettering2008-09-021-1/+3
| |
* | check for .oga in addition to .ogg, to follow most recent s-t-s changesLennart Poettering2008-09-021-2/+3
|/
* fix bus_cb state handlingBrian Cameron2008-09-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Lennart: >> --- libcanberra-0.8/src/gstreamer.c-orig 2008-08-30 00:54:34.477944000 -0500 >> +++ libcanberra-0.8/src/gstreamer.c 2008-08-30 01:03:11.619656000 -0500 >> @@ -230,7 +230,7 @@ static GstBusSyncReply bus_cb(GstBus *bu >> /* g_debug (gst_element_state_get_name (pending)); */ >> >> if (pending == GST_STATE_NULL || pending == GST_STATE_VOID_PENDING) >> - err = CA_SUCCESS; >> + return TRUE; >> else >> return GST_BUS_DROP; >> break; > > Uh? bus_cb returns a variable of type GstBusSyncReply. Returning TRUE > here really doesn't make sense to me. Oops, sorry about that. I find changing the line to either GST_BUS_PASS or GST_BUS_ASYNC seems to work just fine. Providing an updated patch which uses GST_BUS_PASS. Brian Signed-off-by: Lennart Poettering <lennart@poettering.net>
* fix commentLennart Poettering2008-09-021-2/+2
|
* add tdb based shared lookup cacheLennart Poettering2008-09-0210-31/+728
|
* export ca_get_data_home() and ca_get_data_dirs()Lennart Poettering2008-09-022-7/+17
|
* fix a memory leakLennart Poettering2008-09-021-0/+1
|
* add check for GCC destructor function attributesLennart Poettering2008-09-021-0/+6
|
* add new option --loop to c-g-pLennart Poettering2008-09-021-12/+48
|
* remove unused variableLennart Poettering2008-09-021-1/+0
|
* include audioconvert, audioconfig in GStreamer pipelineBrian Cameron2008-08-291-13/+45
| | | | | | | | | | | | | | | | | | | | | | | | | > Brian, I will release libcanberra 0.8 shortly. If you want to make > sure that the Gst driver works fine on solaris before I do the > release, please test quickly! Sorry I was not able ot test before the release. I just tested, and I found it doesn't work for two reasons. One reason I fixed in the attached patch. On Solaris, it is necessary to include "audioconvert ! audioconfig" in the GStreamer pipeline. This is needed to ensure that GStreaner "just works" with sink plugins that may not implement the full range of possible output that can come out of decodebin. The attached patch fixes this. Totem, rhythmbox, and other GStreamer based programs use similar logic. Before the above fix, GStreamer would just hang, which would also happen with the gst-launch command if you ran it with a similar pipeline without "audioconvert". Brian Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com> Signed-off-by: Lennart Poettering <lennart@poettering.net>
* include gstreamer in default driver orderLennart Poettering2008-08-281-0/+3
|
* fix license copy'n'paste errorLennart Poettering2008-08-281-1/+1
|
* driver: GStreamer using decodebin2Marc-André Lureau2008-08-272-0/+471
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com> Signed-off-by: Lennart Poettering <lennart@poettering.net>
* theme: use a sound_file_open callback during the lookupMarc-André Lureau2008-08-273-22/+54
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com> Signed-off-by: Lennart Poettering <lennart@poettering.net>
* multi: accept CANBERRA_DRIVER=multi, pulseMarc-André Lureau2008-08-272-6/+30
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com> Signed-off-by: Lennart Poettering <lennart@poettering.net>
* multi: respect given backend orderMarc-André Lureau2008-08-271-2/+6
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com> Signed-off-by: Lennart Poettering <lennart@poettering.net>
* OSS driver take 3Joe Marcus Clarke2008-08-214-0/+533
| | | | | | | This adds the necessary error checking, and fixes the s/alsa/oss/ problem in configure.ac. Signed-off-by: Lennart Poettering <lennart@poettering.net>
* Implement ca_strdup for platforms that lack it nativelyJoe Marcus Clarke2008-08-202-0/+33
| | | | Signed-off-by: Lennart Poettering <lennart@poettering.net>
* add a few notes about localizationLennart Poettering2008-08-141-6/+7
|