Commit graph

83 commits

Author SHA1 Message Date
Lennart Poettering
b23efc0a4d add missing eof checks 2009-01-20 02:15:43 +01:00
Marc-André Lureau
9c4f8e627a pulse: introspect sink state 2009-01-20 00:16:18 +02:00
Lennart Poettering
b43a45d184 allow setting properties for modules, too 2009-01-19 22:02:28 +01:00
Lennart Poettering
4a13763797 Add support for 24bit samples encoded in the LSB of 32 bit words 2009-01-16 18:39:36 +01:00
Lennart Poettering
6dc76d1158 add support for 24bit packed samples 2009-01-16 03:15:39 +01:00
Lennart Poettering
bae221cca9 rework module usage counter stuff to be pull based 2009-01-15 20:49:12 +01:00
Lennart Poettering
47a2b17d01 make proplist inheritance scheme automatic and implicit 2009-01-15 20:27:07 +01:00
Lennart Poettering
29c7a28817 kill autoload stuff as planned 2009-01-15 20:07:13 +01:00
Lennart Poettering
5abda63a1f convert pa_client instantiation to use a pa_client_new_data struct and add hooks for manipulating it 2009-01-15 17:52:29 +01:00
Lennart Poettering
75119e91cd add new dont_rewind_render flag to allow quick starts of newly created streams 2009-01-15 00:40:06 +01:00
Lennart Poettering
aff72437a6 Fix suspending of all sinks/sources
pasuspender issues a SUSPEND_ALL requests for suspending all
sinks/sources at once. This has been broken due to an ill-placed sanity
checked.
2009-01-12 19:44:21 +01:00
Lennart Poettering
947a828943 fix version check 2009-01-12 19:33:38 +01:00
Lennart Poettering
6130c5c11b Add "base volume" field to sinks/sources 2008-12-24 00:49:43 +01:00
Lennart Poettering
adc2973c8d Implement new flags DONT_INHIBIT_AUTO_SUSPEND and START_UNMUTED 2008-10-26 19:32:04 +01:00
Marc-Andre Lureau
45412740b8 volume hooks
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2008-10-07 01:54:30 +02:00
Lennart Poettering
aa4373962c make sure we send a started messages when we are uncorking 2008-10-06 02:26:08 +02:00
Lennart Poettering
644f39d261 a few FreeBSD fixes, from alexis
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2008-10-01 01:31:56 +02:00
Marc-André Lureau
79009d2235 command_get_info() segv in some conditions
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2008-09-03 19:44:40 +02:00
Lennart Poettering
40b66a0be9 Implement "early requests" mode.
PA_STREAM_EARLY_REQUESTS is a new flag that will modify buffering metric
selection behaviour a bit. This code is good for broken ALSA/OSS clients that
ignore 'readability' on the fds in question and schedule audio via usleep()
instead.
2008-09-03 18:31:46 +02:00
Lennart Poettering
82ea8dde8a avoid rounding errors on requested buffering metrics 2008-09-01 02:41:03 +02:00
Lennart Poettering
dc9b8dce30 add a few missing casts 2008-08-20 03:33:06 +03:00
Lennart Poettering
b7026bf248 add a few more gcc warning flags and fix quite a few problems found by doing so 2008-08-19 22:39:54 +02:00
Lennart Poettering
ec62596f49 allow clients to not specify the volume for their streams 2008-08-18 17:49:18 +02:00
Lennart Poettering
c35d1bbec3 rework validity checking of sink/source/... names 2008-08-18 17:48:04 +02:00
Lennart Poettering
916899a973 pass force_refresh=FALSE to all volume/mute read invocations 2008-08-13 13:59:50 +02:00
Lennart Poettering
7c5a95950e initialize IP ACLs properly 2008-08-11 19:46:28 +02:00
Lennart Poettering
432b4e5f7d don't use PA_GCC_UNUSED anymore 2008-08-09 16:20:29 +02:00
Lennart Poettering
756fac8d04 add new switch --disallow-exit 2008-08-06 19:39:12 +02:00
Lennart Poettering
b4e8cac066 don't include authkey-prop.h anymore 2008-08-06 03:04:53 +02:00
Lennart Poettering
34dd4a20f2 fix shutdown when --disallow-module-loading=1 is passed 2008-08-05 23:56:25 +02:00
Lennart Poettering
64a23677d3 inherit proplist on sample playback from client 2008-08-04 23:32:52 +02:00
Lennart Poettering
eec623a23b add hooks for connection creation/deletion, for that export pa_native_connection 2008-08-04 18:58:29 +02:00
Lennart Poettering
04ffac57a6 add extension system for native protocol 2008-08-03 18:56:10 +02:00
Lennart Poettering
065e7644ac make all protocol objects global singletons 2008-08-03 16:44:38 +02:00
Lennart Poettering
d36c5c97e5 rename props.[ch] to shared.[ch] 2008-08-01 02:13:41 +03:00
Lennart Poettering
edc56a7f7a rename pa_property_xxx to pa_shared_xxx to avoid confusion with property lists 2008-08-01 01:56:09 +03:00
Lennart Poettering
98c26b179d add proper update_max_request handler to native protocol streams 2008-06-28 01:09:07 +02:00
Lennart Poettering
05400321c0 fix underrun detection for prebuf=0 streams 2008-06-27 00:35:40 +02:00
Lennart Poettering
7755f759aa use (uint32_t) -1 to signify default buffer_attr values instead of 0, to allow prebuf=0 2008-06-27 00:34:17 +02:00
Lennart Poettering
1514d13835 split pa_memblockq_flush() into two flush commands, one which fixes up the read ptr, and one which fixes up the write ptr 2008-06-26 00:39:31 +02:00
Lennart Poettering
add6c0361a Rework module-combine to work with glitch-free core; add new max_request field to pa_sink 2008-06-20 22:32:41 +02:00
Lennart Poettering
8ae83d618e get rid of svn $ keywords 2008-06-18 23:23:21 +03:00
Lennart Poettering
ba64de8f3c reset prebuf if it is too large
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2548 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-06-17 20:08:08 +00:00
Lennart Poettering
8ba8265e19 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
2008-06-17 18:29:00 +00:00
Lennart Poettering
ce534976ce 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
2008-06-14 21:33:21 +00:00
Lennart Poettering
b27cc1d426 fix a bad memory access pulsecore/client.c
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2527 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-06-13 21:56:19 +00:00
Lennart Poettering
7297bd91e7 always expect name field in upload datagram
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2489 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-05-27 22:07:27 +00:00
Lennart Poettering
28405e3dcf 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
2008-05-21 22:50:58 +00:00
Lennart Poettering
ef4c6bf9d2 remove a misplaced assert
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2466 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-05-18 19:10:32 +00:00
Lennart Poettering
971342de0b dump latency metrics for recording streams, too
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2454 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-05-17 09:11:21 +00:00