summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug walking on module list.Luiz Augusto von Dentz2009-01-121-1/+1
|
* Load module-volume-restore and module-device-restore before all other modulesLennart Poettering2009-01-121-4/+4
| | | | | | Since m-v-r and m-d-r become active in the FIXATE hooks for stream/device creation we need to make sure the modules are loaded before the first devices/streams are created.
* Pass GDBM_NOLOCK to gdbmLennart Poettering2009-01-122-2/+2
| | | | | | | | | | gdbm still uses BSD lockf for locking which is incompatible with NFS. Since we don't need the locking here since the db files in question should never be accessed by more than one process since they are per-home-dir and per-machine we can disable locking without any ill results. This should fix rhbz #471279.
* Don't mix front-center into rear channelsLennart Poettering2009-01-121-3/+93
| | | | | | | | If there's a center channel on input that is not available on output make sure we mix front-center only into front-left/right and rear-center into rear-left/right. Closes #400
* Fix return value of --dump-resample-methodsLennart Poettering2009-01-121-0/+1
| | | | | | | | We should return 0 when --dump-resample-methods is called. Problem identified by "hchen59". Closes bug #407.
* Check if environ is actually set before we use itLennart Poettering2009-01-121-14/+21
| | | | | | | | Some applications seem to set **environ to NULL for various reasons. Before we iterate through it we thus need to make sure it is actually set to make sure we don't segfault. Closes rhbz #473080
* Make sure libpulse never gets unloadedLennart Poettering2008-11-011-1/+1
| | | | | | | | | | | | | | | | | | When an .so is unloaded during runtime all TLS keys it has registered need to be freed because the destructor callbacks of the TLS key might otherwise point to invalid code. Hence it would appear sensible to destruct the TLS keys from a function marked as __attribute__ ((destructor)). However functions marked like that are also called when an application terminates, on exit(). If a thread continues to run until the very exit it might still want to access that TLS data. The destructor functions are called while all other threads are still running. If __attribute ((destructor)) is used to destruct TLS keys for such threads this might hence cause a crash when the application shuts down. To circumvent this problem we'll now compile libpulse with -z nodelete, to make it unnecessary to delete the TLS data ever and thus avoiding the problem. It's suboptimal, but for now I see no better solution.
* make shm marker architecture independant, patch from michich, closes #401Lennart Poettering2008-11-011-4/+4
|
* make sure to use 64bit rounding even on 32bit machines when converting to ↵Lennart Poettering2008-10-241-3/+3
| | | | pa_usec_t
* fix buildLennart Poettering2008-10-231-1/+1
|
* warn if ALSA wakes us up and there is actually nothing to doLennart Poettering2008-10-233-22/+66
|
* don't set the volume of pacat unless it is explicitly setLennart Poettering2008-10-231-1/+3
|
* make the debug trap macro a proper macro in macro.hLennart Poettering2008-10-231-0/+6
|
* Try to catch certain driver errorsLennart Poettering2008-10-234-6/+69
| | | | | ... by verifying return values of snd_pcm_avail_update() and snd_pcm_begin_mmap() for their sanenness.
* include log.h near the end so that macro.h can be included in log.h and ↵Lennart Poettering2008-10-231-1/+3
| | | | defines pa_bool_t properly
* convert argument to boolean int in PA_UNLIKELY, tooLennart Poettering2008-10-231-1/+1
|
* fix invalid validity checkLennart Poettering2008-10-231-1/+1
|
* Fix spelling of priviligeLennart Poettering2008-10-232-8/+8
|
* always check for libtool prefix binary name to avoid confusion when using ↵Lennart Poettering2008-10-231-2/+2
| | | | both installed and run-from-build-tree versions of PA in parallel
* Fix possible invalid read while attempting to load module-bluetooth-device.Luiz Augusto von Dentz2008-10-231-1/+1
|
* properly remove dbus matches an filters when unloading m-b-dLennart Poettering2008-10-231-1/+16
|
* Fix two typos that broke tunnelsColin Guthrie2008-10-231-2/+2
|
* Fix a potential C++/C99 ism, add a log message on error conditionColin Guthrie2008-10-231-2/+5
| | | | Signed-off-by: Lennart Poettering <lennart@poettering.net>
* define 0dB in PA as maximum amplificationLennart Poettering2008-10-232-8/+12
|
* if the channel map was modified due to PA_SINK_INPUT_FIX_CHANNELS, remap the ↵Lennart Poettering2008-10-231-2/+3
| | | | specified volume properly
* use pa_channel_map_init_extend() instead of pa_channel_map_init_auto() as ↵Lennart Poettering2008-10-232-2/+2
| | | | channel map for sink inputs/source outputs in case no map is specified
* instead of resetting virtual_volume unconditionally on initialization, do so ↵Lennart Poettering2008-10-231-1/+3
| | | | only when no volume was set before
* Unload module-bluetooth-device if the remote device disconnects.Luiz Augusto von Dentz2008-10-231-11/+44
|
* Initialize exit_idle_time to -1 instead of 0 when in system mode.Lennart Poettering2008-10-231-2/+2
| | | | Spotted by Rafał Mużyło.
* make distcheck passv0.9.13Lennart Poettering2008-10-064-4/+4
|
* Merge commit 'vudentz/master'Lennart Poettering2008-10-062-527/+102
|\
| * Fix loading module-bluetooth-device with an invalid parameter.Luiz Augusto von Dentz2008-10-031-1/+1
| |
| * Replace handlers of deprecated Connected signals with new PropertyChanged.Luiz Augusto von Dentz2008-10-031-5/+39
| |
| * Cleanup module-bluetooth-discover.Luiz Augusto von Dentz2008-10-032-532/+69
| |
| * Fix Connected signal handler.Luiz Augusto von Dentz2008-10-031-6/+2
| |
| * Fix match rule problems.Luiz Augusto von Dentz2008-10-031-2/+2
| |
| * Remove PropertyChanged signal handler.Luiz Augusto von Dentz2008-10-031-16/+0
| |
| * Add signal handlers for Connected signals.Luiz Augusto von Dentz2008-10-031-0/+12
| |
| * Add match rules for org.bluez.Headset and org.bluez.AudioSink.Luiz Augusto von Dentz2008-10-031-0/+12
| |
* | make sure we send a started messages when we are uncorkingLennart Poettering2008-10-062-0/+7
| |
* | update module-tunnel for recent protocol changesLennart Poettering2008-10-051-1/+8
| |
* | disable valgrind macro usage for now since valgrind generates a lot of ↵Lennart Poettering2008-10-051-7/+11
| | | | | | | | spurious warnings as it seems
* | add missing includeLennart Poettering2008-10-051-0/+2
| |
* | substract the unused record buffer size from the overall size before ↵Lennart Poettering2008-10-042-4/+5
| | | | | | | | calculating the space still left for recording
* | get rid of pa_alsa_volume_divide() since we have pa_sw_volume_divide() nowLennart Poettering2008-10-044-28/+2
| |
* | implement pa_sw_volume_divide() and pa_sw_cvolume_divide()Lennart Poettering2008-10-042-7/+40
| |
* | increase suspend timeout to 5s so that it is always longer then the default ↵Lennart Poettering2008-10-041-1/+1
| | | | | | | | tsched buffer size of 2s
* | don't call snd_pcm_drain() when we suspend because that might take awfully ↵Lennart Poettering2008-10-041-2/+2
| | | | | | | | long with our long buffer sizes these days
* | add missing inclusionLennart Poettering2008-10-041-0/+1
| |
* | do not cleanup staticly allocated memory unless we are in valgrind modeLennart Poettering2008-10-043-0/+9
| |