profile/ivi/pulseaudio.git
16 years agoadd proper arm atomic ops support, patch from Jyri Sarha
Lennart Poettering [Wed, 26 Mar 2008 21:15:52 +0000 (21:15 +0000)]
add proper arm atomic ops support, patch from Jyri Sarha

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2127 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agowork around solaris printf %s and NULL string brain damage
Lennart Poettering [Fri, 14 Mar 2008 13:32:33 +0000 (13:32 +0000)]
work around solaris printf %s and NULL string brain damage

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2117 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agochange policy file to not show polkit auth dlg by default
Lennart Poettering [Fri, 14 Mar 2008 13:28:46 +0000 (13:28 +0000)]
change policy file to not show polkit auth dlg by default

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2116 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoAnd one more.
Diego Petteno [Sun, 9 Mar 2008 12:55:21 +0000 (12:55 +0000)]
And one more.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2115 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoTest for _struct_ lt_user_dlloader, otherwise it won't be found.
Diego Petteno [Sun, 9 Mar 2008 12:54:45 +0000 (12:54 +0000)]
Test for _struct_ lt_user_dlloader, otherwise it won't be found.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2114 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoBuild and run using libltdl from libtool 2.2. The user module loader support has...
Diego Petteno [Sat, 8 Mar 2008 23:30:08 +0000 (23:30 +0000)]
Build and run using libltdl from libtool 2.2. The user module loader support has changed drastically.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2113 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoClarify the explanation of the in_action field in pa_autoload_entry.
Tanu Kaskinen [Fri, 15 Feb 2008 18:19:42 +0000 (18:19 +0000)]
Clarify the explanation of the in_action field in pa_autoload_entry.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2112 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoonly call pa_ltdl_done() if we called pa_ltdl_init() before
Lennart Poettering [Fri, 15 Feb 2008 18:03:11 +0000 (18:03 +0000)]
only call pa_ltdl_done() if we called pa_ltdl_init() before

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2111 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoallow compilation on systems that lack POSIX shared memory. Patch from matthijs,...
Lennart Poettering [Fri, 15 Feb 2008 13:38:12 +0000 (13:38 +0000)]
allow compilation on systems that lack POSIX shared memory. Patch from matthijs, closes #200

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2110 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoexplicitly recommend the usage of -- in the pasuspender command line, Closes #203
Lennart Poettering [Fri, 15 Feb 2008 13:33:08 +0000 (13:33 +0000)]
explicitly recommend the usage of -- in the pasuspender command line, Closes #203

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2109 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agolook for timer_create in librt, Closes #210, patch supplied by matthijs
Lennart Poettering [Fri, 15 Feb 2008 13:21:14 +0000 (13:21 +0000)]
look for timer_create in librt, Closes #210, patch supplied by matthijs

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2108 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoprint pa version id each time we start up, so that it is easier to identify the versi...
Lennart Poettering [Fri, 15 Feb 2008 13:13:12 +0000 (13:13 +0000)]
print pa version id each time we start up, so that it is easier to identify the version people are reporting bugs again

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2107 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoImprove compatibility with applications which like to pass invalid strings to the...
Lennart Poettering [Fri, 15 Feb 2008 11:50:48 +0000 (11:50 +0000)]
Improve compatibility with applications which like to pass invalid strings to the libc functions we overwrite, by handing directly to the original function. Patch by Colin Guthrie and Gustavo De Nardin, Closes #227

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2106 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agodeal with a possibly failing pa_channel_map_init_auto() correctly
Lennart Poettering [Wed, 13 Feb 2008 22:13:44 +0000 (22:13 +0000)]
deal with a possibly failing pa_channel_map_init_auto() correctly

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2105 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoMark long_options constant.
Diego Petteno [Thu, 24 Jan 2008 11:12:29 +0000 (11:12 +0000)]
Mark long_options constant.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2104 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoUse check_PROGRAMS rather than noinst_PROGRAMS for test programs.
Diego Petteno [Thu, 24 Jan 2008 10:45:33 +0000 (10:45 +0000)]
Use check_PROGRAMS rather than noinst_PROGRAMS for test programs.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2103 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoApply the fix for CVE-2008-0008 from 0.9.9 release on trunk.
Diego Petteno [Thu, 24 Jan 2008 09:35:50 +0000 (09:35 +0000)]
Apply the fix for CVE-2008-0008 from 0.9.9 release on trunk.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2102 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agouse __BYTE_ORDER macro for detecting byte order, as suggested on http://unixpapa...
Lennart Poettering [Sun, 6 Jan 2008 20:38:11 +0000 (20:38 +0000)]
use __BYTE_ORDER macro for detecting byte order, as suggested on unixpapa.com/incnote/byteorder.html

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2098 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoDon't send opcodes introduced in protocol versions 12 to clients using protocol
Sjoerd Simons [Fri, 4 Jan 2008 14:59:09 +0000 (14:59 +0000)]
Don't send opcodes introduced in protocol versions 12 to clients using protocol
version 11. (fixes #183)

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2097 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoImplement opcodes in the tunnel modules that were added in version 12 of
Sjoerd Simons [Fri, 4 Jan 2008 14:57:31 +0000 (14:57 +0000)]
Implement opcodes in the tunnel modules that were added in version 12 of
the protocol. Based on a patch by coling. (fixes #193)

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2096 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoAdd forgotted #ifdef __linux__ and only use SIGRTMIN if it is defined. Fixes
Sjoerd Simons [Fri, 4 Jan 2008 14:52:44 +0000 (14:52 +0000)]
Add forgotted #ifdef __linux__ and only use SIGRTMIN if it is defined. Fixes
compilation on non-linux platforms like GNU/kFreeBSD. Thanks to Aurelien Jarno
for the patch

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2095 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoAdd a missing pa_xfree.
Tanu Kaskinen [Thu, 3 Jan 2008 22:27:58 +0000 (22:27 +0000)]
Add a missing pa_xfree.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2094 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoThe previous commit introduced a new bug: giving too many values in the "control...
Tanu Kaskinen [Thu, 3 Jan 2008 21:53:46 +0000 (21:53 +0000)]
The previous commit introduced a new bug: giving too many values in the "control" argument wasn't detected any more. Fixed.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2093 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoFix the parsing of trailing default values in the "control" module argument.
Tanu Kaskinen [Thu, 3 Jan 2008 21:07:11 +0000 (21:07 +0000)]
Fix the parsing of trailing default values in the "control" module argument.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2092 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoDowngraded the priority of a message, because it's really quite uninteresting.
Tanu Kaskinen [Wed, 2 Jan 2008 13:08:52 +0000 (13:08 +0000)]
Downgraded the priority of a message, because it's really quite uninteresting.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2091 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoconvert argument to boolean value before passing it on to __builtin_expect in PA_LIKELY
Lennart Poettering [Sat, 29 Dec 2007 18:04:31 +0000 (18:04 +0000)]
convert argument to boolean value before passing it on to __builtin_expect in PA_LIKELY

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2090 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd new function pa_proplist_contains()
Lennart Poettering [Sat, 29 Dec 2007 18:03:53 +0000 (18:03 +0000)]
add new function pa_proplist_contains()

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2089 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd API for resetting allocated resamplers
Lennart Poettering [Sun, 23 Dec 2007 20:15:03 +0000 (20:15 +0000)]
add API for resetting allocated resamplers

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2088 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agowrap speex_resampler_reset_mem()
Lennart Poettering [Sun, 23 Dec 2007 20:14:05 +0000 (20:14 +0000)]
wrap speex_resampler_reset_mem()

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2087 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agohide proplist-test
Lennart Poettering [Sun, 23 Dec 2007 20:13:19 +0000 (20:13 +0000)]
hide proplist-test

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2086 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd new property list implementation
Lennart Poettering [Sun, 23 Dec 2007 20:12:37 +0000 (20:12 +0000)]
add new property list implementation

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2085 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoIncrease the maximum line length of default.pa from 256 to 1024. Load commands of...
Tanu Kaskinen [Fri, 14 Dec 2007 12:54:26 +0000 (12:54 +0000)]
Increase the maximum line length of default.pa from 256 to 1024. Load commands of modules that need multiple channel maps may grow rather long.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2084 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoAdd a configure switch to enable the per-user ESounD socket path, but default to...
Diego Petteno [Thu, 6 Dec 2007 19:30:16 +0000 (19:30 +0000)]
Add a configure switch to enable the per-user ESounD socket path, but default to vanilla ESounD's path. This way distributions and users can configure PulseAudio according to their ESounD library.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2083 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoAdd new subsystem for applying envelopes (such as volume ramps) to audio signals
Lennart Poettering [Sat, 24 Nov 2007 16:26:49 +0000 (16:26 +0000)]
Add new subsystem for applying envelopes (such as volume ramps) to audio signals

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2082 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agorearrange #includes
Lennart Poettering [Sat, 24 Nov 2007 16:24:54 +0000 (16:24 +0000)]
rearrange #includes

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2081 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd new pa_mutex_try_lock() API
Lennart Poettering [Sat, 24 Nov 2007 16:24:16 +0000 (16:24 +0000)]
add new pa_mutex_try_lock() API

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2080 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd new endianess macros for FLOAT32
Lennart Poettering [Sat, 24 Nov 2007 16:23:19 +0000 (16:23 +0000)]
add new endianess macros for FLOAT32

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2079 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agomake sure to create ~/.pulse before using any configuration file from it
Lennart Poettering [Sat, 24 Nov 2007 16:22:23 +0000 (16:22 +0000)]
make sure to create ~/.pulse before using any configuration file from it

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2078 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoCheck for mkdir -p or equivalent, and use that rather than simple mkdir to create...
Diego Petteno [Fri, 23 Nov 2007 21:49:05 +0000 (21:49 +0000)]
Check for mkdir -p or equivalent, and use that rather than simple mkdir to create the modules, modules/gconf and modules/rtp directories.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2077 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoEnable D-Bus if Bluez or HAL are enabled; use DBUS_LIBS/DBUS_CFLAGS when building...
Diego Petteno [Fri, 23 Nov 2007 16:17:16 +0000 (16:17 +0000)]
Enable D-Bus if Bluez or HAL are enabled; use DBUS_LIBS/DBUS_CFLAGS when building libdbus-util.la.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2076 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoFix detection of polkit_context_is_caller_authorized() function, also reported by...
Diego Petteno [Fri, 23 Nov 2007 15:27:56 +0000 (15:27 +0000)]
Fix detection of polkit_context_is_caller_authorized() function, also reported by Nix. Also fix detection of policydir for prefixes different from /usr.~

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2075 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agofix uploading of samples into PA. Problem discovered by Colin Guthrie
Lennart Poettering [Thu, 22 Nov 2007 15:09:00 +0000 (15:09 +0000)]
fix uploading of samples into PA. Problem discovered by Colin Guthrie

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2074 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoupdate speex resampler with newer snapshot from Speex SVN
Lennart Poettering [Thu, 22 Nov 2007 14:47:28 +0000 (14:47 +0000)]
update speex resampler with newer snapshot from Speex SVN

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2073 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agobump version and soname
Lennart Poettering [Wed, 21 Nov 2007 23:09:17 +0000 (23:09 +0000)]
bump version and soname

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2071 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoupdate man pages a bit
Lennart Poettering [Wed, 21 Nov 2007 23:03:19 +0000 (23:03 +0000)]
update man pages a bit

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2070 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agowhen speaking to a client with a version < 12, hide S32 sample specs, and make them...
Lennart Poettering [Wed, 21 Nov 2007 22:55:28 +0000 (22:55 +0000)]
when speaking to a client with a version < 12, hide S32 sample specs, and make them appaear as FLOAT32

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2069 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoincrement api and protocol version
Lennart Poettering [Wed, 21 Nov 2007 01:31:04 +0000 (01:31 +0000)]
increment api and protocol version

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2068 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years ago- Check process name when dealing with PID files
Lennart Poettering [Wed, 21 Nov 2007 01:30:40 +0000 (01:30 +0000)]
- Check process name when dealing with PID files
- Add new PA_STREAM_FIX_CHANNELS, FIX_RATE, FIX_FORMAT, DONT_MOVE, VARIABLE_RATES to pa_sream_flags_t adn implement it
- Expose those flags in pacat
- Add notifications about device suspend/resume to the protocol and expose them in libpulse
- Allow changing of buffer_attr during playback
- allow disabling for remixing globally
- hookup polkit support

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2067 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agominor typo fix
Lennart Poettering [Wed, 21 Nov 2007 01:21:53 +0000 (01:21 +0000)]
minor typo fix

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2066 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd short version history of the PA protocol
Lennart Poettering [Wed, 21 Nov 2007 01:21:00 +0000 (01:21 +0000)]
add short version history of the PA protocol

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2065 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd a couple of new opcodes, and document the versions the opcodes where added
Lennart Poettering [Wed, 21 Nov 2007 01:20:16 +0000 (01:20 +0000)]
add a couple of new opcodes, and document the versions the opcodes where added

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2064 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd API to allow runtime reconfiguration of memblockqs
Lennart Poettering [Wed, 21 Nov 2007 01:19:28 +0000 (01:19 +0000)]
add API to allow runtime reconfiguration of memblockqs

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2063 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agodetect whether PolicyKit support is available
Lennart Poettering [Fri, 16 Nov 2007 23:48:09 +0000 (23:48 +0000)]
detect whether PolicyKit support is available

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2062 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agobuild PolicyKit support
Lennart Poettering [Fri, 16 Nov 2007 23:47:28 +0000 (23:47 +0000)]
build PolicyKit support

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2061 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd interface to PolicyKit
Lennart Poettering [Fri, 16 Nov 2007 23:46:22 +0000 (23:46 +0000)]
add interface to PolicyKit

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2060 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agouse a prio inheriting mutex for the threaded mainloop, to ease writing of RT clients
Lennart Poettering [Wed, 14 Nov 2007 16:11:51 +0000 (16:11 +0000)]
use a prio inheriting mutex for the threaded mainloop, to ease writing of RT clients

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2059 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agouse a free list for allocation pa_operation objects
Lennart Poettering [Wed, 14 Nov 2007 16:11:09 +0000 (16:11 +0000)]
use a free list for allocation pa_operation objects

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2058 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agouse a free list for allocating reply_info structs
Lennart Poettering [Wed, 14 Nov 2007 16:10:36 +0000 (16:10 +0000)]
use a free list for allocating reply_info structs

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2057 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd missing pa_boolization
Lennart Poettering [Wed, 14 Nov 2007 16:09:03 +0000 (16:09 +0000)]
add missing pa_boolization

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2056 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoRework ALSA mixer channel detection code. This time we actually care about the channe...
Lennart Poettering [Tue, 13 Nov 2007 23:42:15 +0000 (23:42 +0000)]
Rework ALSA mixer channel detection code. This time we actually care about the channel names the ALSA mixer exports for us

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2055 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd array size to increase chance of detecting missing updates
Lennart Poettering [Tue, 13 Nov 2007 23:41:17 +0000 (23:41 +0000)]
add array size to increase chance of detecting missing updates

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2054 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agodon't fail if the bt-proximity-helper is not built
Lennart Poettering [Tue, 13 Nov 2007 19:56:01 +0000 (19:56 +0000)]
don't fail if the bt-proximity-helper is not built

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2053 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agodon't touch RLIMIT:MEMBLOCK by default. This should improve out-of-the-box comaptibil...
Lennart Poettering [Tue, 13 Nov 2007 19:39:23 +0000 (19:39 +0000)]
don't touch RLIMIT:MEMBLOCK by default. This should improve out-of-the-box comaptibility with JACK

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2052 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoincrease the pacmd timeout a bit
Lennart Poettering [Tue, 13 Nov 2007 19:21:15 +0000 (19:21 +0000)]
increase the pacmd timeout a bit

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2051 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoCompletely rework ALSA device selection code: choose the device to open depending...
Lennart Poettering [Tue, 13 Nov 2007 17:37:44 +0000 (17:37 +0000)]
Completely rework ALSA device selection code: choose the device to open depending on the requested number of channels and channel map. In most cases it will now suffice to set default-channels=6 to enable 5.1 sound for all devices that support it

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2050 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agofix loading of load-once modules if no other modules was loaded before
Lennart Poettering [Tue, 13 Nov 2007 17:35:48 +0000 (17:35 +0000)]
fix loading of load-once modules if no other modules was loaded before

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2049 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd new fun module that automatically mutes your audio devices when you leave with...
Lennart Poettering [Sun, 11 Nov 2007 23:18:19 +0000 (23:18 +0000)]
add new fun module that automatically mutes your audio devices when you leave with your bluetooth phone, and unmutes when you come back

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2048 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoPort module-gconf to make use of the new API pa_start_child_for_read()
Lennart Poettering [Sun, 11 Nov 2007 23:01:44 +0000 (23:01 +0000)]
Port module-gconf to make use of the new API pa_start_child_for_read()

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2047 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agopull code for starting helper processes out of module-gconf, clean it up, and stick...
Lennart Poettering [Sun, 11 Nov 2007 23:00:38 +0000 (23:00 +0000)]
pull code for starting helper processes out of module-gconf, clean it up, and stick into a new API pa_start_child_for_read()

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2046 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd new function pa_strnull() to simplify passing null strings to non-linux printf()
Lennart Poettering [Sun, 11 Nov 2007 22:59:34 +0000 (22:59 +0000)]
add new function pa_strnull() to simplify passing null strings to non-linux printf()

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2045 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd a simple fully-automatic fully-linearupmixer/downmixer and enable it by default
Lennart Poettering [Sun, 11 Nov 2007 02:30:59 +0000 (02:30 +0000)]
add a simple fully-automatic fully-linearupmixer/downmixer and enable it by default

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2044 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agotag modules that may only be loaded once at most especially, and enforce that in...
Lennart Poettering [Fri, 9 Nov 2007 18:25:40 +0000 (18:25 +0000)]
tag modules that may only be loaded once at most especially, and enforce that in the module loader

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2043 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agominor typo
Lennart Poettering [Fri, 9 Nov 2007 18:24:09 +0000 (18:24 +0000)]
minor typo

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2042 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agooptimize mixing code a bit. Add mixers for S32LE, S32BE, ULAW, ALAW and FLOAT32BE...
Lennart Poettering [Fri, 9 Nov 2007 17:11:45 +0000 (17:11 +0000)]
optimize mixing code a bit. Add mixers for S32LE, S32BE, ULAW, ALAW and FLOAT32BE. Add volume adjusters for FLOAT32BE, ALAW, ULAW.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2041 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoreplace a few CLAMPs by PA_CLAMP_UNLIKELY
Lennart Poettering [Fri, 9 Nov 2007 14:20:12 +0000 (14:20 +0000)]
replace a few CLAMPs by PA_CLAMP_UNLIKELY

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2040 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoremove PA_CLAMP_LIKELY macro because it doesn't really make sense.
Lennart Poettering [Fri, 9 Nov 2007 14:19:40 +0000 (14:19 +0000)]
remove PA_CLAMP_LIKELY macro because it doesn't really make sense.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2039 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years ago.la files for modules can probably be removed safely on all archs now
Lennart Poettering [Fri, 9 Nov 2007 14:14:29 +0000 (14:14 +0000)]
.la files for modules can probably be removed safely on all archs now

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2038 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd support for 32bit integer samples
Lennart Poettering [Fri, 9 Nov 2007 02:45:07 +0000 (02:45 +0000)]
add support for 32bit integer samples

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2037 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agofix CLAMP_LIKELY/UNLIKELY definition
Lennart Poettering [Fri, 9 Nov 2007 02:12:09 +0000 (02:12 +0000)]
fix CLAMP_LIKELY/UNLIKELY definition

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2036 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd missing #include
Lennart Poettering [Fri, 9 Nov 2007 01:30:46 +0000 (01:30 +0000)]
add missing #include

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2035 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd a few missing macro definitions
Lennart Poettering [Fri, 9 Nov 2007 01:30:25 +0000 (01:30 +0000)]
add a few missing macro definitions

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2034 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd PA_CLAMP_LIKELY and PA_CLAMP_UNLIKELY macros
Lennart Poettering [Fri, 9 Nov 2007 01:29:50 +0000 (01:29 +0000)]
add PA_CLAMP_LIKELY and PA_CLAMP_UNLIKELY macros

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2033 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd support for likely()/unlikely() type macros
Lennart Poettering [Fri, 9 Nov 2007 01:28:56 +0000 (01:28 +0000)]
add support for likely()/unlikely() type macros

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2032 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoparse the pasuspend argument like any other boolean in PulseAudio
Lennart Poettering [Thu, 8 Nov 2007 22:42:33 +0000 (22:42 +0000)]
parse the pasuspend argument like any other boolean in PulseAudio

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2031 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agostrip most comments from the default configuration files, since the man page is now...
Lennart Poettering [Thu, 8 Nov 2007 22:31:30 +0000 (22:31 +0000)]
strip most comments from the default configuration files, since the man page is now more elaborate and we don't want to maintain those docs redundantly at two places

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2030 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd remaing man pages
Lennart Poettering [Thu, 8 Nov 2007 22:30:33 +0000 (22:30 +0000)]
add remaing man pages

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2029 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agowarn if the sound server is not local
Lennart Poettering [Wed, 7 Nov 2007 13:52:07 +0000 (13:52 +0000)]
warn if the sound server is not local

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2028 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd man pages for padsp, pabrowse, pasuspender
Lennart Poettering [Wed, 7 Nov 2007 13:50:47 +0000 (13:50 +0000)]
add man pages for padsp, pabrowse, pasuspender

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2027 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agocomplete pactl man page
Lennart Poettering [Tue, 6 Nov 2007 00:21:20 +0000 (00:21 +0000)]
complete pactl man page

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2026 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agominor cleanups of --help texts
Lennart Poettering [Mon, 5 Nov 2007 23:56:30 +0000 (23:56 +0000)]
minor cleanups of --help texts

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2025 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd a couple of more man pages
Lennart Poettering [Mon, 5 Nov 2007 23:56:00 +0000 (23:56 +0000)]
add a couple of more man pages

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2024 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd a man page for the pulseaudio binary. More will follow.
Lennart Poettering [Mon, 5 Nov 2007 15:10:13 +0000 (15:10 +0000)]
add a man page for the pulseaudio binary. More will follow.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2023 fefdeb5f-60dc-0310-8127-8f9354f1896f

17 years agofix two alignment issues found by the debian buildd gcc on sparc
Lennart Poettering [Sun, 4 Nov 2007 16:51:26 +0000 (16:51 +0000)]
fix two alignment issues found by the debian buildd gcc on sparc

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2022 fefdeb5f-60dc-0310-8127-8f9354f1896f

17 years agopa_boolization
Lennart Poettering [Sun, 4 Nov 2007 16:50:23 +0000 (16:50 +0000)]
pa_boolization

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2021 fefdeb5f-60dc-0310-8127-8f9354f1896f

17 years agoadd eventfd syscall nr for arm; patch from Sjoerd Simons; Closes #150
Lennart Poettering [Sun, 4 Nov 2007 14:17:48 +0000 (14:17 +0000)]
add eventfd syscall nr for arm; patch from Sjoerd Simons; Closes #150

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2020 fefdeb5f-60dc-0310-8127-8f9354f1896f

17 years agoProperly terminate pa_readlink() strings. Patch from Sjoerd Simons. Closes #149
Lennart Poettering [Sun, 4 Nov 2007 14:11:53 +0000 (14:11 +0000)]
Properly terminate pa_readlink() strings. Patch from Sjoerd Simons. Closes #149

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2019 fefdeb5f-60dc-0310-8127-8f9354f1896f

17 years agoAdd linker version script to hide non-ABI stable symbols in the client
Lennart Poettering [Sun, 4 Nov 2007 13:51:18 +0000 (13:51 +0000)]
Add linker version script to hide non-ABI stable symbols in the client
libraries. While this helps defining a more streamlined ABI, this also requires
linking a lot of additional symbols into some PA client utilities which until
now made use of the non-ABI stable symbols in libpulse. To minimize the effect
on there size a bit, strip unused symbols by linking with -ffunction-sections
-fdata-sections -Wl,--gc-sections

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2018 fefdeb5f-60dc-0310-8127-8f9354f1896f

17 years agocomment the library versions a bit
Lennart Poettering [Thu, 1 Nov 2007 22:51:46 +0000 (22:51 +0000)]
comment the library versions a bit

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2017 fefdeb5f-60dc-0310-8127-8f9354f1896f

17 years agoadd missing pthread libs
Lennart Poettering [Thu, 1 Nov 2007 22:50:32 +0000 (22:50 +0000)]
add missing pthread libs

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2016 fefdeb5f-60dc-0310-8127-8f9354f1896f

17 years agomake disallow-module-loading config option work again (original patch from Diego...
Lennart Poettering [Thu, 1 Nov 2007 11:23:45 +0000 (11:23 +0000)]
make disallow-module-loading config option work again (original patch from Diego Petteno)

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2015 fefdeb5f-60dc-0310-8127-8f9354f1896f