profile/ivi/pulseaudio-panda.git
16 years agosince the sink is unlinked before the sink input we need to make sure we don't call...
Lennart Poettering [Sat, 21 Jun 2008 00:28:34 +0000 (02:28 +0200)]
since the sink is unlinked before the sink input we need to make sure we don't call any function for unlinked sinks from any sink input callback

16 years agoexecute detach callback before we change the state to UNLINKED
Lennart Poettering [Sat, 21 Jun 2008 00:24:59 +0000 (02:24 +0200)]
execute detach callback before we change the state to UNLINKED

16 years agoallow sinks to be created with max_request initialized to 0, so that the data can...
Lennart Poettering [Sat, 21 Jun 2008 00:24:23 +0000 (02:24 +0200)]
allow sinks to be created with max_request initialized to 0, so that the data can be filled in later when attaching to some piggybacked sink

16 years agoRequest a rewrite immediately after we have been linked, so that playback starts...
Lennart Poettering [Fri, 20 Jun 2008 21:04:12 +0000 (23:04 +0200)]
Request a rewrite immediately after we have been linked, so that playback starts immediately

16 years agoRework module-combine to work with glitch-free core; add new max_request field to...
Lennart Poettering [Fri, 20 Jun 2008 20:32:41 +0000 (22:32 +0200)]
Rework module-combine to work with glitch-free core; add new max_request field to pa_sink

16 years agofix interpretation of remix parameter
Lennart Poettering [Fri, 20 Jun 2008 20:29:30 +0000 (22:29 +0200)]
fix interpretation of remix parameter

16 years agoadd new abstract device class
Lennart Poettering [Fri, 20 Jun 2008 20:18:03 +0000 (22:18 +0200)]
add new abstract device class

16 years agoadd new function pa_smoother_reset()
Lennart Poettering [Fri, 20 Jun 2008 20:17:40 +0000 (22:17 +0200)]
add new function pa_smoother_reset()

16 years agoadd new remix= parameter to remap sink
Lennart Poettering [Thu, 19 Jun 2008 17:23:14 +0000 (19:23 +0200)]
add new remix= parameter to remap sink

16 years agoremove trailing spaces
Lennart Poettering [Wed, 18 Jun 2008 21:56:48 +0000 (23:56 +0200)]
remove trailing spaces

16 years agomake user of pa_channel_map_init_extend() wherever it makes sense
Lennart Poettering [Wed, 18 Jun 2008 21:44:26 +0000 (23:44 +0200)]
make user of pa_channel_map_init_extend() wherever it makes sense

16 years agoadd new API pa_channel_map_init_extend() to synthesize a channel map if noone is...
Lennart Poettering [Wed, 18 Jun 2008 21:42:14 +0000 (23:42 +0200)]
add new API pa_channel_map_init_extend() to synthesize a channel map if noone is known

16 years agoignore tarballs
Lennart Poettering [Wed, 18 Jun 2008 21:07:40 +0000 (23:07 +0200)]
ignore tarballs

16 years agoremove remaining $
Lennart Poettering [Wed, 18 Jun 2008 20:38:32 +0000 (22:38 +0200)]
remove remaining $

16 years agoget rid of svn $ keywords
Lennart Poettering [Wed, 18 Jun 2008 20:23:21 +0000 (23:23 +0300)]
get rid of svn $ keywords

16 years agoadd missing gitignore files
Lennart Poettering [Tue, 17 Jun 2008 22:51:50 +0000 (00:51 +0200)]
add missing gitignore files

16 years agoadd another .gitignore file, this time for pulse/
Lennart Poettering [Tue, 17 Jun 2008 22:47:32 +0000 (00:47 +0200)]
add another .gitignore file, this time for pulse/

16 years agoAdd a .gitignore file for the src/ directory.
Lennart Poettering [Tue, 17 Jun 2008 22:42:07 +0000 (00:42 +0200)]
Add a .gitignore file for the src/ directory.

16 years agoAdd a small README with the new git URLs and stuff
Lennart Poettering [Tue, 17 Jun 2008 22:34:14 +0000 (00:34 +0200)]
Add a small README with the new git URLs and stuff

16 years agoif building a man page fails remove the output to make sure that calling make repeate...
Lennart Poettering [Tue, 17 Jun 2008 20:13:26 +0000 (20:13 +0000)]
if building a man page fails remove the output to make sure that calling make repeatedly will actually work

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

16 years agofix man page xml
Lennart Poettering [Tue, 17 Jun 2008 20:12:41 +0000 (20:12 +0000)]
fix man page xml

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

16 years agoreset prebuf if it is too large
Lennart Poettering [Tue, 17 Jun 2008 20:08:08 +0000 (20:08 +0000)]
reset prebuf if it is too large

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

16 years agolimit the prebuf value by tlength
Lennart Poettering [Tue, 17 Jun 2008 20:07:51 +0000 (20:07 +0000)]
limit the prebuf value by tlength

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

16 years agobring module-tunnel back to life
Lennart Poettering [Tue, 17 Jun 2008 18:29:15 +0000 (18:29 +0000)]
bring module-tunnel back to life

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

16 years agoserver side of new shm negotiation scheme; fix a bad memory access
Lennart Poettering [Tue, 17 Jun 2008 18:29:00 +0000 (18:29 +0000)]
server side of new shm negotiation scheme; fix a bad memory access

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

16 years agorework shm usage negotiation; merge a few pa_bool_t in a single bit field to save...
Lennart Poettering [Tue, 17 Jun 2008 18:27:24 +0000 (18:27 +0000)]
rework shm usage negotiation; merge a few pa_bool_t in a single bit field to save a bit of memory; drop redundant implementation of pa_init_proplist()

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

16 years agominor modernizations
Lennart Poettering [Tue, 17 Jun 2008 18:24:36 +0000 (18:24 +0000)]
minor modernizations

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

16 years agomake use of the pa_init_proplist() version in proplist-util.[ch]
Lennart Poettering [Tue, 17 Jun 2008 18:24:01 +0000 (18:24 +0000)]
make use of the pa_init_proplist() version in proplist-util.[ch]

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

16 years agomove pa_init_proplist() to proplist-util.[ch]
Lennart Poettering [Tue, 17 Jun 2008 18:23:09 +0000 (18:23 +0000)]
move pa_init_proplist() to proplist-util.[ch]

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

16 years agoadd missing const to a few functions
Lennart Poettering [Mon, 16 Jun 2008 19:04:40 +0000 (19:04 +0000)]
add missing const to a few functions

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

16 years agoadd pa_memblockq_get_base()
Lennart Poettering [Mon, 16 Jun 2008 19:01:09 +0000 (19:01 +0000)]
add pa_memblockq_get_base()

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

16 years agoadd Nokia copyright
Lennart Poettering [Mon, 16 Jun 2008 19:00:47 +0000 (19:00 +0000)]
add Nokia copyright

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

16 years agocheck for packet size on server info data
Lennart Poettering [Mon, 16 Jun 2008 18:59:20 +0000 (18:59 +0000)]
check for packet size on server info data

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

16 years agouse new pa_sink_set_latency_range() in null sink
Lennart Poettering [Mon, 16 Jun 2008 18:58:54 +0000 (18:58 +0000)]
use new pa_sink_set_latency_range() in null sink

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

16 years agoa few modernizations
Lennart Poettering [Mon, 16 Jun 2008 18:56:08 +0000 (18:56 +0000)]
a few modernizations

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

16 years agoadd new function pa_iochannel_socket_is_local()
Lennart Poettering [Mon, 16 Jun 2008 18:55:20 +0000 (18:55 +0000)]
add new function pa_iochannel_socket_is_local()

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

16 years agomake use of the new pa_socket_address_is_local() function
Lennart Poettering [Mon, 16 Jun 2008 18:45:52 +0000 (18:45 +0000)]
make use of the new pa_socket_address_is_local() function

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

16 years agoadd new functions pa_socket_is_local() and pa_socket_address_is_local()
Lennart Poettering [Mon, 16 Jun 2008 18:45:17 +0000 (18:45 +0000)]
add new functions pa_socket_is_local() and pa_socket_address_is_local()

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

16 years agoadd missing inclusion
Lennart Poettering [Mon, 16 Jun 2008 18:43:18 +0000 (18:43 +0000)]
add missing inclusion

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

16 years agominor modernizations, increase unload timeout to 60s
Lennart Poettering [Sat, 14 Jun 2008 21:33:49 +0000 (21:33 +0000)]
minor modernizations, increase unload timeout to 60s

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

16 years agoavoid division by zero when informing user about unloaded lazy samples in the sample...
Lennart Poettering [Sat, 14 Jun 2008 21:33:21 +0000 (21:33 +0000)]
avoid division by zero when informing user about unloaded lazy samples in the sample cache

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

16 years agoupdate todo
Lennart Poettering [Fri, 13 Jun 2008 21:59:21 +0000 (21:59 +0000)]
update todo

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

16 years agofix a bad memory access pulsecore/client.c
Lennart Poettering [Fri, 13 Jun 2008 21:56:19 +0000 (21:56 +0000)]
fix a bad memory access pulsecore/client.c

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

16 years agorearrange things
Lennart Poettering [Fri, 13 Jun 2008 21:55:01 +0000 (21:55 +0000)]
rearrange things

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

16 years agoconsider passing the same argument twice to a module an error, also consider a variab...
Lennart Poettering [Fri, 13 Jun 2008 21:07:21 +0000 (21:07 +0000)]
consider passing the same argument twice to a module an error, also consider a variable name without following = an error

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

16 years agosometimes a simple memset() is much faster
Lennart Poettering [Fri, 13 Jun 2008 21:06:31 +0000 (21:06 +0000)]
sometimes a simple memset() is much faster

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

16 years agofix a minor memory leak when unloading m-c-k
Lennart Poettering [Fri, 13 Jun 2008 21:06:08 +0000 (21:06 +0000)]
fix a minor memory leak when unloading m-c-k

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

16 years agodrop hal inclusion from module-console-kit.c
Lennart Poettering [Thu, 12 Jun 2008 18:14:46 +0000 (18:14 +0000)]
drop hal inclusion from module-console-kit.c

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

16 years agoTrivial typo fix in debug log message.
Colin Guthrie [Thu, 12 Jun 2008 08:27:20 +0000 (08:27 +0000)]
Trivial typo fix in debug log message.

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

16 years agomerge Colin Guthrie's module-always-sink module, and add priorization to the hook...
Lennart Poettering [Wed, 11 Jun 2008 19:45:57 +0000 (19:45 +0000)]
merge Colin Guthrie's module-always-sink module, and add priorization to the hook subsystem while doing so.

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

16 years agoenable auto-spawning by default
Lennart Poettering [Wed, 11 Jun 2008 17:44:49 +0000 (17:44 +0000)]
enable auto-spawning by default

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

16 years agoenable ConsoleKit support and positioned event sounds by default
Lennart Poettering [Wed, 11 Jun 2008 17:43:08 +0000 (17:43 +0000)]
enable ConsoleKit support and positioned event sounds by default

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

16 years agoadd new switch --start to the PA binary which allows starting PA if it is not running...
Lennart Poettering [Wed, 11 Jun 2008 17:38:50 +0000 (17:38 +0000)]
add new switch --start to the PA binary which allows starting PA if it is not running yet. In contrast to normal startup an already running PA will not be considered an error. Also, take the autospawn lock so we can guarantee that after this call returns PA is ralive and running

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

16 years agodon't exit when the XSM signals us a session exit. instead just unload all X11 modules
Lennart Poettering [Wed, 11 Jun 2008 16:58:00 +0000 (16:58 +0000)]
don't exit when the XSM signals us a session exit. instead just unload all X11 modules

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

16 years agomove pa_core_check_quit() a bit later
Lennart Poettering [Wed, 11 Jun 2008 16:56:03 +0000 (16:56 +0000)]
move pa_core_check_quit() a bit later

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

16 years agoreformat things
Lennart Poettering [Wed, 11 Jun 2008 16:55:43 +0000 (16:55 +0000)]
reformat things

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

16 years agoinstall auto unload time event only when we have at least one auto unload module
Lennart Poettering [Wed, 11 Jun 2008 16:55:26 +0000 (16:55 +0000)]
install auto unload time event only when we have at least one auto unload module

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

16 years agoadd new module-console-kit which tracks ck sessions to avoid termination when there...
Lennart Poettering [Wed, 11 Jun 2008 14:28:35 +0000 (14:28 +0000)]
add new module-console-kit which tracks ck sessions to avoid termination when there is still some session using the PA instance

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

16 years agoadd new module module-position-event-sounds for positioning event sounds in space
Lennart Poettering [Wed, 11 Jun 2008 00:38:19 +0000 (00:38 +0000)]
add new module module-position-event-sounds for positioning event sounds in space

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

16 years agoreplace pa_atof() by pa_atod() because floats are lame
Lennart Poettering [Wed, 11 Jun 2008 00:37:41 +0000 (00:37 +0000)]
replace pa_atof() by pa_atod() because floats are lame

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

16 years agoupdate well-known property list
Lennart Poettering [Wed, 11 Jun 2008 00:37:10 +0000 (00:37 +0000)]
update well-known property list

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

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