summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* show maximum usable slot sizeLennart Poettering2009-01-121-2/+3
|
* add a few missing parensLennart Poettering2009-01-121-9/+9
|
* --check: Updated manpage slightly and pulseaudio --help slightly.Sean McNamara2009-01-121-1/+1
| | | | | | | | | | | | | | It's good for new users - I didn't know about the convention for daemon checks to only bump the exit code until, say, a year after I first installed Linux. Of course, we could also put an entire guide to using Linux in our manpage, or tell users how to check the exit code with $?, or how to get to the terminal, or an example script, ... (you can see how this would quickly get out of control). So just a little bit more hint should be good for now. John? Does this work for you? Sean Signed-off-by: Lennart Poettering <lennart@poettering.net>
* Fix sending wrong codec capability length.Luiz Augusto von Dentz2009-01-121-1/+4
|
* Fix send and recv message sizes.Luiz Augusto von Dentz2009-01-121-2/+7
|
* Send packets with proper size.Luiz Augusto von Dentz2009-01-121-1/+1
|
* Fix typo in log message: s/Recevied/Received/chocolateboy2009-01-121-1/+1
| | | | Signed-off-by: Lennart Poettering <lennart@poettering.net>
* Multicast SDP packets sent with same IP TTL as RTP packetsTom Bamford2009-01-121-0/+5
| | | | Signed-off-by: Lennart Poettering <lennart@poettering.net>
* Update module-bluetooth-device to the new ipc.Luiz Augusto von Dentz2009-01-123-172/+217
|
* A few minor cleanups and updatesLennart Poettering2009-01-125-14/+21
|
* Rework handling of the PA_SINK_LATENCY/PA_SOURCE_LATENCY flagsLennart Poettering2009-01-122-3/+11
|
* fix a gcc warningLennart Poettering2009-01-121-2/+2
|
* If we cannot open an ALSA device with SND_PCM_NO_AUTO_FORMAT retry withoutLennart Poettering2009-01-121-4/+24
| | | | | This should fix compatibility with some sound cards which only support 24 bit packed samples.
* make sure we don't hit an assert when we issue two rewind requests in aLennart Poettering2009-01-121-17/+25
| | | | | | single iteration Closes rhbz 472757.
* Implement PA_SOURCE_MESSAGE_GET_LATENCYLennart Poettering2009-01-121-0/+30
| | | | | | | The pipe source needs to implement PA_SOURCE_MESSAGE_GET_LATENCY since we'll otherwise hit an assert. Closes #424.
* Use FIONREAD instead of TIOCINQLennart Poettering2009-01-121-2/+2
| | | | | | | On Linux the two ioctls FIONREAD and TIOCINQ share the same number. However TIOCINQ is used for terminals while FIONREAD is used (among others) for sockets and pipes. Hence use FIONREAD here since it seems more appropriate.
* Allow access("/dev/dsp", W_OK) succeedLennart Poettering2009-01-121-5/+5
| | | | | | | Some stupid apps (such as X-lite Softphone) check for W_OK on /dev/dsp. This is of course crazy but easy for us to support. Closes rhbz #474313
* Make sure we drop CAP_NICE if RT is not allowedLennart Poettering2009-01-121-7/+39
| | | | | but make sure we still allow RT if RLIMIT_RTPRIO is properly set when PA is called.
* downgrade a few warningsLennart Poettering2009-01-121-4/+4
|
* it's better to always use the index of a module instead of the pa_module*Lennart Poettering2009-01-121-13/+15
|
* unload tunnel modules from a new stack frameLennart Poettering2009-01-121-2/+2
|
* actually unload the modules from a new stack frameLennart Poettering2009-01-121-1/+1
|
* Don't store pointer to pa_moduleLennart Poettering2009-01-121-3/+3
| | | | | pa_module pointers might become invalid at any time, so we use the stable uin32_t index of the module for identifying or modules instead.
* introduce new function pa_module_unload_request_by_indexLennart Poettering2009-01-122-2/+14
|
* 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