Lennart Poettering [Fri, 27 Jun 2008 19:37:33 +0000 (21:37 +0200)]
save a bit of memory
Lennart Poettering [Fri, 27 Jun 2008 18:34:14 +0000 (20:34 +0200)]
modernize idxset a bit, reduce memory consumption, get rid of pa_idxset_foreach()
Lennart Poettering [Fri, 27 Jun 2008 18:13:26 +0000 (20:13 +0200)]
halve memory consumption of mempool flist, since we know we cannot have more than n_blocks entries in it
Lennart Poettering [Fri, 27 Jun 2008 18:12:24 +0000 (20:12 +0200)]
modernize hashmap implementation a bit, reduce memory consumption a bit
Lennart Poettering [Fri, 27 Jun 2008 17:18:19 +0000 (19:18 +0200)]
rework the flist implementation to halve memory consumption by merging the state field and the pointer in the flist cells
Lennart Poettering [Fri, 27 Jun 2008 17:15:32 +0000 (19:15 +0200)]
some modernizations
Lennart Poettering [Fri, 27 Jun 2008 17:14:59 +0000 (19:14 +0200)]
rename pa_queu_is_empty() to pa_queue_isempty() to follow idxset/hashmap nomenclatura
Lennart Poettering [Fri, 27 Jun 2008 17:12:03 +0000 (19:12 +0200)]
save some memory by increasing the dynamic array at a slower rate
Lennart Poettering [Fri, 27 Jun 2008 17:11:28 +0000 (19:11 +0200)]
some modernizations
Lennart Poettering [Fri, 27 Jun 2008 15:17:11 +0000 (17:17 +0200)]
fix typo in man page, closes rhbz #447355
Lennart Poettering [Thu, 26 Jun 2008 22:35:40 +0000 (00:35 +0200)]
fix underrun detection for prebuf=0 streams
Lennart Poettering [Thu, 26 Jun 2008 22:34:17 +0000 (00:34 +0200)]
use (uint32_t) -1 to signify default buffer_attr values instead of 0, to allow prebuf=0
Lennart Poettering [Thu, 26 Jun 2008 22:28:42 +0000 (00:28 +0200)]
fix crash when using sync'ed streams
Lennart Poettering [Thu, 26 Jun 2008 22:28:17 +0000 (00:28 +0200)]
cork/uncork before we ask for the rewrite, to make sure the rewrite actually gets trhough
Lennart Poettering [Thu, 26 Jun 2008 17:43:45 +0000 (19:43 +0200)]
always forward rewind requests to the sink, and don't abort on nbytes=0
Lennart Poettering [Thu, 26 Jun 2008 17:35:42 +0000 (19:35 +0200)]
some svn->git updates in the Makefile
Lennart Poettering [Thu, 26 Jun 2008 17:03:53 +0000 (19:03 +0200)]
rework logic to request automatic timing updates a bit
Lennart Poettering [Thu, 26 Jun 2008 17:03:16 +0000 (19:03 +0200)]
reorder a few things to get rid of an uneeded comparison
Lennart Poettering [Thu, 26 Jun 2008 17:02:14 +0000 (19:02 +0200)]
add a FIXME
Lennart Poettering [Thu, 26 Jun 2008 17:01:51 +0000 (19:01 +0200)]
move initialization order of validity bools around a bit
Lennart Poettering [Thu, 26 Jun 2008 17:00:42 +0000 (19:00 +0200)]
unify smoother pause/resume handling in a single function check_smoother_status()
Lennart Poettering [Thu, 26 Jun 2008 16:49:02 +0000 (18:49 +0200)]
convert to double only once, and make sure we can deal with negative results of -y
Lennart Poettering [Thu, 26 Jun 2008 00:56:00 +0000 (02:56 +0200)]
make sure to call process_rewind() under all circumstances before we do the next loop iteration
Lennart Poettering [Wed, 25 Jun 2008 22:44:19 +0000 (00:44 +0200)]
use the newer name for monotonic/monotonous
Lennart Poettering [Wed, 25 Jun 2008 22:43:30 +0000 (00:43 +0200)]
remove redundant check
Lennart Poettering [Wed, 25 Jun 2008 22:42:09 +0000 (00:42 +0200)]
properly initialize pa_stream::corked based on the flags
Lennart Poettering [Wed, 25 Jun 2008 22:39:31 +0000 (00:39 +0200)]
split pa_memblockq_flush() into two flush commands, one which fixes up the read ptr, and one which fixes up the write ptr
Lennart Poettering [Wed, 25 Jun 2008 22:36:05 +0000 (00:36 +0200)]
comment two functions in memblockq.c
Lennart Poettering [Wed, 25 Jun 2008 22:33:07 +0000 (00:33 +0200)]
use the bight lighter _silence() instead of _flush() when destructing our little q
Lennart Poettering [Wed, 25 Jun 2008 22:31:39 +0000 (00:31 +0200)]
fix up if the smoother shall be resumed 'before' it was actually paused
Lennart Poettering [Wed, 25 Jun 2008 22:29:59 +0000 (00:29 +0200)]
fix up monotonicity of input to _get() instead of hitting an assert
Lennart Poettering [Wed, 25 Jun 2008 22:27:54 +0000 (00:27 +0200)]
call the enum PA_STREAM_NOT_MONOTONIC and make PA_STREAM_NOT_MONOTONOUS an alias for that
Lennart Poettering [Wed, 25 Jun 2008 22:27:02 +0000 (00:27 +0200)]
fix return value of pa_namereg_make_valid_name()
Lennart Poettering [Wed, 25 Jun 2008 00:28:33 +0000 (02:28 +0200)]
choose more sensible default buffer sizes for old clients
Colin Guthrie [Tue, 24 Jun 2008 23:28:23 +0000 (00:28 +0100)]
Add xmltoman to the distribution. This saves pulling in an external dependancy
Colin Guthrie [Tue, 24 Jun 2008 22:50:12 +0000 (23:50 +0100)]
Export the cleanup_name() function and rename it to pa_namereg_make_valid_name().
This will allow it to be used by modules to create valid sink names.
Lennart Poettering [Tue, 24 Jun 2008 00:16:49 +0000 (02:16 +0200)]
Merge branch 'master' of git://git.debian.org/git/pkg-pulseaudio/pulseaudio-upstream
Lennart Poettering [Mon, 23 Jun 2008 22:06:25 +0000 (00:06 +0200)]
call update_source_requested_latency callback for source outputs only when it is set to non-NULL
Lennart Poettering [Mon, 23 Jun 2008 20:47:37 +0000 (22:47 +0200)]
don't refer to nonexisting pa_stream_read() function
Lennart Poettering [Mon, 23 Jun 2008 20:46:22 +0000 (22:46 +0200)]
include proplist.h in pulseaudio.h
CJ van den Berg [Mon, 23 Jun 2008 14:11:20 +0000 (16:11 +0200)]
Merge dead branch 'glitch-free'
CJ van den Berg [Mon, 23 Jun 2008 14:10:58 +0000 (16:10 +0200)]
Merge dead branch 'lennart'
CJ van den Berg [Mon, 23 Jun 2008 14:10:41 +0000 (16:10 +0200)]
Merge dead branch 'lockfree'
CJ van den Berg [Mon, 23 Jun 2008 14:10:18 +0000 (16:10 +0200)]
Merge dead branch 'ossman'
CJ van den Berg [Mon, 23 Jun 2008 14:09:58 +0000 (16:09 +0200)]
Merge dead branch 'liboil-test'
CJ van den Berg [Mon, 23 Jun 2008 14:09:08 +0000 (16:09 +0200)]
Merge dead branch 'prepare-0.9.10'
Lennart Poettering [Sat, 21 Jun 2008 23:48:46 +0000 (01:48 +0200)]
support file-based capabilities instead of SUID root for giving PA rights to acquire RT/HP scheduling: setcap cap_sys_nice=ep /usr/bin/pulseaudio
Lennart Poettering [Sat, 21 Jun 2008 15:44:14 +0000 (17:44 +0200)]
fix deadlock when resuming oss sinks
Lennart Poettering [Sat, 21 Jun 2008 11:55:52 +0000 (13:55 +0200)]
Properly check for home directory
Lennart Poettering [Sat, 21 Jun 2008 11:55:17 +0000 (13:55 +0200)]
Don't fail when we cannot determine the lock file path
Lennart Poettering [Sat, 21 Jun 2008 00:29:03 +0000 (02:29 +0200)]
call the right function in the right context
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
Lennart Poettering [Sat, 21 Jun 2008 00:24:59 +0000 (02:24 +0200)]
execute detach callback before we change the state to UNLINKED
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
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
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
Lennart Poettering [Fri, 20 Jun 2008 20:29:30 +0000 (22:29 +0200)]
fix interpretation of remix parameter
Lennart Poettering [Fri, 20 Jun 2008 20:18:03 +0000 (22:18 +0200)]
add new abstract device class
Lennart Poettering [Fri, 20 Jun 2008 20:17:40 +0000 (22:17 +0200)]
add new function pa_smoother_reset()
Lennart Poettering [Thu, 19 Jun 2008 17:23:14 +0000 (19:23 +0200)]
add new remix= parameter to remap sink
Lennart Poettering [Wed, 18 Jun 2008 21:56:48 +0000 (23:56 +0200)]
remove trailing spaces
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
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
Lennart Poettering [Wed, 18 Jun 2008 21:07:40 +0000 (23:07 +0200)]
ignore tarballs
Lennart Poettering [Wed, 18 Jun 2008 20:38:32 +0000 (22:38 +0200)]
remove remaining $
Lennart Poettering [Wed, 18 Jun 2008 20:23:21 +0000 (23:23 +0300)]
get rid of svn $ keywords
Lennart Poettering [Tue, 17 Jun 2008 22:51:50 +0000 (00:51 +0200)]
add missing gitignore files
Lennart Poettering [Tue, 17 Jun 2008 22:47:32 +0000 (00:47 +0200)]
add another .gitignore file, this time for pulse/
Lennart Poettering [Tue, 17 Jun 2008 22:42:07 +0000 (00:42 +0200)]
Add a .gitignore file for the src/ directory.
Lennart Poettering [Tue, 17 Jun 2008 22:34:14 +0000 (00:34 +0200)]
Add a small README with the new git URLs and stuff
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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