platform/upstream/pulseaudio.git
16 years agoDo not invalidate the cookie if no file was specified.
Colin Guthrie [Mon, 9 Jun 2008 18:21:56 +0000 (18:21 +0000)]
Do not invalidate the cookie if no file was specified.
Only invalidate it when a cookie-file is specified and it is not loaded/parsed correctly.
This fixes a bug introduced in r2494

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

16 years agoRejig r2495 slightly and directly compile the necessary source files as libpulsecore...
Colin Guthrie [Tue, 3 Jun 2008 21:10:05 +0000 (21:10 +0000)]
Rejig r2495 slightly and directly compile the necessary source files as libpulsecore.so is not available when libpulsedsp.so is built

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

16 years agoAlso link libpulsecore.la to some libraries (needed for logging). Discovered while...
Colin Guthrie [Tue, 3 Jun 2008 19:55:01 +0000 (19:55 +0000)]
Also link libpulsecore.la to some libraries (needed for logging). Discovered while compiling with --as-needed

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

16 years agoPerfer client.conf over X11 property variables.
Colin Guthrie [Tue, 3 Jun 2008 19:22:29 +0000 (19:22 +0000)]
Perfer client.conf over X11 property variables.
To explain: X11 properties are always set on the root window if pulseaudio is started
during X11 login (which is the most likey time to start it). This means that any settings
specified in client.conf will almost never be used. As the default client.conf is empty
it makes more sense to listen to it if a user cares to bother altering it.

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

16 years agofix a compiler warning on ARM due to missing cast, patch from Jyri Sarha
Lennart Poettering [Tue, 3 Jun 2008 08:40:30 +0000 (08:40 +0000)]
fix a compiler warning on ARM due to missing cast, patch from Jyri Sarha

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

16 years agoupdate props
Lennart Poettering [Thu, 29 May 2008 15:17:18 +0000 (15:17 +0000)]
update props

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

16 years agoallow on-the-fly deleting of hashmap entries wile we iterate through them
Lennart Poettering [Thu, 29 May 2008 15:16:58 +0000 (15:16 +0000)]
allow on-the-fly deleting of hashmap entries wile we iterate through them

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

16 years agonever hand out more data from a sink input than requested. Otherwise the resampler...
Lennart Poettering [Tue, 27 May 2008 22:08:42 +0000 (22:08 +0000)]
never hand out more data from a sink input than requested. Otherwise the resampler might run for too long and we get a heavy delay/underrun

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

16 years agoalways expect name field in upload datagram
Lennart Poettering [Tue, 27 May 2008 22:07:27 +0000 (22:07 +0000)]
always expect name field in upload datagram

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

16 years agofix esound proto to not crash
Lennart Poettering [Tue, 27 May 2008 22:05:31 +0000 (22:05 +0000)]
fix esound proto to not crash

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

16 years agoreadd name field to upload datagram
Lennart Poettering [Tue, 27 May 2008 22:05:06 +0000 (22:05 +0000)]
readd name field to upload datagram

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

16 years agofix a minor memory leak
Lennart Poettering [Tue, 27 May 2008 22:04:09 +0000 (22:04 +0000)]
fix a minor memory leak

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

16 years agobig mumbo jumo of interleaved patches.
Lennart Poettering [Wed, 21 May 2008 22:50:58 +0000 (22:50 +0000)]
big mumbo jumo of interleaved patches.
* Use seperate "state" and "config" paths
* Pass the fact that we are in system mode via an env var $PULSE_SYSTEM instead of as var in pa_core
* Properly check proc name when checking PID files. Don't check exename, because we cannot read that for other uids

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

16 years agomove device volume file to state dir
Lennart Poettering [Wed, 21 May 2008 22:47:07 +0000 (22:47 +0000)]
move device volume file to state dir

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

16 years agomove default device from runtime to state dir
Lennart Poettering [Wed, 21 May 2008 22:46:21 +0000 (22:46 +0000)]
move default device from runtime to state dir

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

16 years agomove volume restore table from runtime to state dir, fix another compiler warning
Lennart Poettering [Wed, 21 May 2008 22:45:52 +0000 (22:45 +0000)]
move volume restore table from runtime to state dir, fix another compiler warning

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

16 years agodefine PA_SYSTEM_CONFIG_PATH and PA_SYSTEM_STATE_PATH for C
Lennart Poettering [Wed, 21 May 2008 22:45:04 +0000 (22:45 +0000)]
define PA_SYSTEM_CONFIG_PATH and PA_SYSTEM_STATE_PATH for C

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

16 years agodeal with failing pa_runtime_path()
Lennart Poettering [Wed, 21 May 2008 22:44:37 +0000 (22:44 +0000)]
deal with failing pa_runtime_path()

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

16 years agoproperly handle if pa_runtime_path() fails
Lennart Poettering [Wed, 21 May 2008 22:43:22 +0000 (22:43 +0000)]
properly handle if pa_runtime_path() fails

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

16 years agomake state and config path for system instance configurable
Lennart Poettering [Wed, 21 May 2008 22:42:57 +0000 (22:42 +0000)]
make state and config path for system instance configurable

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

16 years agofix a compiler warning
Lennart Poettering [Wed, 21 May 2008 22:42:32 +0000 (22:42 +0000)]
fix a compiler warning

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

16 years agoadd O_NOCTTY
Lennart Poettering [Wed, 21 May 2008 22:42:01 +0000 (22:42 +0000)]
add O_NOCTTY

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

16 years agoadd new functions pa_state_path()/pa_get_state_dir(), change return value of pa_start...
Lennart Poettering [Wed, 21 May 2008 22:39:40 +0000 (22:39 +0000)]
add new functions pa_state_path()/pa_get_state_dir(), change return value of pa_startswith()/pa_endswith() pa_bool, add pa_in_system_mode() and pa_streq(); alow pa_unlock_lockfile() without file name spec

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

16 years agofix daemon shutdown with active monitor streams
Lennart Poettering [Sun, 18 May 2008 23:56:16 +0000 (23:56 +0000)]
fix daemon shutdown with active monitor streams

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

16 years agoignore close-test binary
Lennart Poettering [Sun, 18 May 2008 19:13:45 +0000 (19:13 +0000)]
ignore close-test binary

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

16 years agoadd a small test program for pa_close_all()
Lennart Poettering [Sun, 18 May 2008 19:12:59 +0000 (19:12 +0000)]
add a small test program for pa_close_all()

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

16 years agoremove a misplaced assert
Lennart Poettering [Sun, 18 May 2008 19:10:32 +0000 (19:10 +0000)]
remove a misplaced assert

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

16 years agomake sure we don't hit an assert when autospawning
Lennart Poettering [Sun, 18 May 2008 19:09:59 +0000 (19:09 +0000)]
make sure we don't hit an assert when autospawning

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

16 years agofix pa_close_all() to make it actually work as advertised
Lennart Poettering [Sun, 18 May 2008 19:09:14 +0000 (19:09 +0000)]
fix pa_close_all() to make it actually work as advertised

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

16 years agofix a misplaced assert
Lennart Poettering [Sun, 18 May 2008 19:06:31 +0000 (19:06 +0000)]
fix a misplaced assert

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

16 years agofix return value of noop pa_limit_caps()
Lennart Poettering [Sat, 17 May 2008 10:57:52 +0000 (10:57 +0000)]
fix return value of noop pa_limit_caps()

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

16 years agoadd another assert to catch sleep time miscalculations easier
Lennart Poettering [Sat, 17 May 2008 09:59:34 +0000 (09:59 +0000)]
add another assert to catch sleep time miscalculations easier

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

16 years agouse pa_source_set_latency_range()/pa_sink_set_latency_range() in the ALSA drivers...
Lennart Poettering [Sat, 17 May 2008 09:57:45 +0000 (09:57 +0000)]
use pa_source_set_latency_range()/pa_sink_set_latency_range() in the ALSA drivers; fix sleep time calculation

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

16 years agouse pa_source_set_latency_range()/pa_sink_set_latency_range() in the ALSA drivers...
Lennart Poettering [Sat, 17 May 2008 09:57:32 +0000 (09:57 +0000)]
use pa_source_set_latency_range()/pa_sink_set_latency_range() in the ALSA drivers; fix sleep time calculation

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

16 years agouse pa_sink_set_latency_range() where applicable
Lennart Poettering [Sat, 17 May 2008 09:16:00 +0000 (09:16 +0000)]
use pa_sink_set_latency_range() where applicable

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

16 years agolink latency of monitor source to sink
Lennart Poettering [Sat, 17 May 2008 09:14:47 +0000 (09:14 +0000)]
link latency of monitor source to sink

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

16 years agoadd new function pa_source_set_latency_range(), fix type of requested_latency
Lennart Poettering [Sat, 17 May 2008 09:12:45 +0000 (09:12 +0000)]
add new function pa_source_set_latency_range(), fix type of requested_latency

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

16 years agoonly unref memblock if there is one
Lennart Poettering [Sat, 17 May 2008 09:11:52 +0000 (09:11 +0000)]
only unref memblock if there is one

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

16 years agodump latency metrics for recording streams, too
Lennart Poettering [Sat, 17 May 2008 09:11:21 +0000 (09:11 +0000)]
dump latency metrics for recording streams, too

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

16 years agofix peak detection pseudo resampler
Lennart Poettering [Sat, 17 May 2008 09:10:16 +0000 (09:10 +0000)]
fix peak detection pseudo resampler

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

16 years agofix pa_stream flag checking
Lennart Poettering [Sat, 17 May 2008 09:09:29 +0000 (09:09 +0000)]
fix pa_stream flag checking

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

16 years agotype fixes for constants
Lennart Poettering [Sat, 17 May 2008 09:08:40 +0000 (09:08 +0000)]
type fixes for constants

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

16 years agotype fixes for constants
Lennart Poettering [Sat, 17 May 2008 09:08:13 +0000 (09:08 +0000)]
type fixes for constants

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

16 years agofix a minor compiler warning
Lennart Poettering [Sat, 17 May 2008 09:07:35 +0000 (09:07 +0000)]
fix a minor compiler warning

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

16 years agodeclare the explicit type for our PA_xSEC_PER_ySEC constants
Lennart Poettering [Sat, 17 May 2008 09:07:07 +0000 (09:07 +0000)]
declare the explicit type for our PA_xSEC_PER_ySEC constants

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

16 years agobump so revisions
Lennart Poettering [Thu, 15 May 2008 23:41:42 +0000 (23:41 +0000)]
bump so revisions

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

16 years agoalso update PROTOCOL
Lennart Poettering [Thu, 15 May 2008 23:36:44 +0000 (23:36 +0000)]
also update PROTOCOL

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

16 years agomerge glitch-free branch back into trunk
Lennart Poettering [Thu, 15 May 2008 23:34:41 +0000 (23:34 +0000)]
merge glitch-free branch back into trunk

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

16 years agoLet bootstrap.sh require version 1.10 of the various autofoo bits. Otherwise things...
Sjoerd Simons [Sun, 13 Apr 2008 19:05:53 +0000 (19:05 +0000)]
Let bootstrap.sh require version 1.10 of the various autofoo bits. Otherwise things will break during compilation

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

16 years agofix caps stuff for crazy people who disable caps
Lennart Poettering [Mon, 31 Mar 2008 22:24:37 +0000 (22:24 +0000)]
fix caps stuff for crazy people who disable caps

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

16 years agoupdate copyright year
Lennart Poettering [Mon, 31 Mar 2008 22:23:07 +0000 (22:23 +0000)]
update copyright year

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

16 years agomerge r2136 from prepare-0.9.10
Lennart Poettering [Mon, 31 Mar 2008 22:21:29 +0000 (22:21 +0000)]
merge r2136 from prepare-0.9.10

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

16 years agomerge r2195 from prepare-0.9.10
Lennart Poettering [Mon, 31 Mar 2008 22:13:15 +0000 (22:13 +0000)]
merge r2195 from prepare-0.9.10

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

16 years agomerge r2194 from prepare-0.9.10
Lennart Poettering [Mon, 31 Mar 2008 22:12:55 +0000 (22:12 +0000)]
merge r2194 from prepare-0.9.10

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

16 years agomerge r2193 from prepare-0.9.10
Lennart Poettering [Mon, 31 Mar 2008 22:12:32 +0000 (22:12 +0000)]
merge r2193 from prepare-0.9.10

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

16 years agomerge r2192 from prepare-0.9.10
Lennart Poettering [Mon, 31 Mar 2008 22:11:06 +0000 (22:11 +0000)]
merge r2192 from prepare-0.9.10

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

16 years agomerge r2191 from prepare-0.9.10
Lennart Poettering [Mon, 31 Mar 2008 22:09:32 +0000 (22:09 +0000)]
merge r2191 from prepare-0.9.10

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

16 years agomerge r2189 from prepare-0.9.10
Lennart Poettering [Mon, 31 Mar 2008 22:08:36 +0000 (22:08 +0000)]
merge r2189 from prepare-0.9.10

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

16 years agomerge r2190 from prepare-0.9.10
Lennart Poettering [Mon, 31 Mar 2008 22:07:51 +0000 (22:07 +0000)]
merge r2190 from prepare-0.9.10

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

16 years agomerge r2187 from prepare-0.9.10
Lennart Poettering [Mon, 31 Mar 2008 22:07:17 +0000 (22:07 +0000)]
merge r2187 from prepare-0.9.10

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

16 years agomerge r2186 from prepare-0.9.10
Lennart Poettering [Mon, 31 Mar 2008 22:06:46 +0000 (22:06 +0000)]
merge r2186 from prepare-0.9.10

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

16 years agomerge r2185 from prepare-0.9.10
Lennart Poettering [Mon, 31 Mar 2008 22:06:15 +0000 (22:06 +0000)]
merge r2185 from prepare-0.9.10

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

16 years agomerge r2184 from prepare-0.9.10
Lennart Poettering [Mon, 31 Mar 2008 22:05:48 +0000 (22:05 +0000)]
merge r2184 from prepare-0.9.10

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

16 years agomerge r2183 from prepare-0.9.10
Lennart Poettering [Mon, 31 Mar 2008 22:05:10 +0000 (22:05 +0000)]
merge r2183 from prepare-0.9.10

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

16 years agomerge r2182 from prepare-0.9.10
Lennart Poettering [Mon, 31 Mar 2008 22:04:21 +0000 (22:04 +0000)]
merge r2182 from prepare-0.9.10

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

16 years agofix the help for --disable-per-user-esound-socket so that it actually
Diego Petteno [Mon, 31 Mar 2008 14:02:14 +0000 (14:02 +0000)]
fix the help for --disable-per-user-esound-socket so that it actually
refers to the --disable action.

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

16 years agoproperly notify clients about suspended state when moving source output streams....
Lennart Poettering [Thu, 27 Mar 2008 23:59:37 +0000 (23:59 +0000)]
properly notify clients about suspended state when moving source output streams. Closes #244. Patch from slicer

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

16 years agomerge r2179 from prepare-0.9.10
Lennart Poettering [Thu, 27 Mar 2008 23:48:14 +0000 (23:48 +0000)]
merge r2179 from prepare-0.9.10

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

16 years agoremove a redundant if check
Lennart Poettering [Thu, 27 Mar 2008 23:21:16 +0000 (23:21 +0000)]
remove a redundant if check

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

16 years agocopy originial l2ping license from bluez into bt helper
Lennart Poettering [Thu, 27 Mar 2008 23:14:40 +0000 (23:14 +0000)]
copy originial l2ping license from bluez into bt helper

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

16 years agoEnable per-user esound sockets by default. Esound CVS already enables this by default...
Lennart Poettering [Thu, 27 Mar 2008 23:06:26 +0000 (23:06 +0000)]
Enable per-user esound sockets by default. Esound CVS already enables this by default, and all sane distributions ship a patched esd anyway. And those which do not should get a life and start patching esd

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

16 years agomake loading of a few more modules non-fatal
Lennart Poettering [Thu, 27 Mar 2008 21:04:25 +0000 (21:04 +0000)]
make loading of a few more modules non-fatal

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

16 years agoDouble maximum sample size for some overly huge samples some distros ship
Lennart Poettering [Thu, 27 Mar 2008 20:57:12 +0000 (20:57 +0000)]
Double maximum sample size for some overly huge samples some distros ship

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

16 years agoAttempt to resolve the multilib conflicts by getting all the config files
Lennart Poettering [Thu, 27 Mar 2008 20:52:59 +0000 (20:52 +0000)]
Attempt to resolve the multilib conflicts by getting all the config files
look equally for all plattforms.  This includes getting rid go pathnames
with libdir; let's make ps search for files with relative paths there.

https://bugzilla.redhat.com/show_bug.cgi?id=228383

Modified patch, originally from Lubomir Kundrak <lkundrak@redhat.com>

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

16 years agomodernize polkit code a bit, use new functions from pk 0.7 instead of our home-grown...
Lennart Poettering [Thu, 27 Mar 2008 20:34:04 +0000 (20:34 +0000)]
modernize polkit code a bit, use new functions from pk 0.7 instead of our home-grown ones

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

16 years agorename polkit policy file to org.pulseaudio.policy to follow upstream guidelines
Lennart Poettering [Thu, 27 Mar 2008 19:11:05 +0000 (19:11 +0000)]
rename polkit policy file to org.pulseaudio.policy to follow upstream guidelines

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

16 years agoadd vendor data to pk policy file
Lennart Poettering [Thu, 27 Mar 2008 19:05:20 +0000 (19:05 +0000)]
add vendor data to pk policy file

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

16 years agoAbort instead of cleanly exiting, so we can obtain a core dump and find out
Lennart Poettering [Thu, 27 Mar 2008 18:39:59 +0000 (18:39 +0000)]
Abort instead of cleanly exiting, so we can obtain a core dump and find out
what was wrong. (rhbz #438594, Patch from Lubomir Kundrak)

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

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