Lennart Poettering [Wed, 9 Apr 2008 01:14:59 +0000 (01:14 +0000)]
bump protocol version
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2223
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Wed, 9 Apr 2008 01:14:33 +0000 (01:14 +0000)]
include proplist.h in doxygen docs
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2222
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Mon, 7 Apr 2008 17:19:51 +0000 (17:19 +0000)]
call snd_pcm_hwsync() expclicitly before we access any of the status fields, since this seems to be necessary. try to find the right mixer device via the card index
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2221
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Mon, 7 Apr 2008 16:47:27 +0000 (16:47 +0000)]
fix bug where we silently dropped data that didn't fit into one mempool tile
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2220
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Mon, 7 Apr 2008 16:46:13 +0000 (16:46 +0000)]
add utility functions to dump alsa PCM state
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2219
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Fri, 4 Apr 2008 16:06:47 +0000 (16:06 +0000)]
propery calculate min_avail in frames instead of bytes. don't use device_id= parameter in alsa modules if parameter wasn't specified
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2218
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Fri, 4 Apr 2008 16:05:15 +0000 (16:05 +0000)]
drop support for periodic timers, cleanup code a bit
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2217
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Fri, 4 Apr 2008 16:04:29 +0000 (16:04 +0000)]
mark libpulse-browse as obsolete
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2216
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Thu, 3 Apr 2008 13:40:55 +0000 (13:40 +0000)]
- deprecate autoload stuff
- allow setting of the requested latency of a sink input/source output before _put() is called
- allow sinks/sources to have a "minimal" latency which applies to all requested latencies by sink inputs/source outputs
- add new client library flags PA_STREAM_ADJUST_LATENCY, PA_STREAM_START_MUTED
- allow client library to fill in 0 to buffer_attr fields
- update module-alsa-source following module-alsa-sink
- other cleanups and fixes
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2215
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Mon, 31 Mar 2008 23:08:01 +0000 (23:08 +0000)]
catch up with trunk HEAD (i.e. 2118:2213)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2214
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sat, 15 Mar 2008 15:26:03 +0000 (15:26 +0000)]
remaining bits and pieces
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2126
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sat, 15 Mar 2008 15:24:36 +0000 (15:24 +0000)]
commit glitch-free work
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2125
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sat, 15 Mar 2008 15:21:41 +0000 (15:21 +0000)]
commit glitch-free work
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2124
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sat, 15 Mar 2008 15:21:26 +0000 (15:21 +0000)]
commit glitch-free work
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2123
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sat, 15 Mar 2008 15:19:40 +0000 (15:19 +0000)]
commit glitch-free work
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2122
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sat, 15 Mar 2008 15:18:55 +0000 (15:18 +0000)]
commit glitch-free work
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2121
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sat, 15 Mar 2008 15:15:36 +0000 (15:15 +0000)]
really create glitch-free branch
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2120
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sat, 15 Mar 2008 15:13:19 +0000 (15:13 +0000)]
create glitch-free branch
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2118
fefdeb5f-60dc-0310-8127-
8f9354f1896f
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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