Commit graph

318 commits

Author SHA1 Message Date
Lennart Poettering
065e7644ac make all protocol objects global singletons 2008-08-03 16:44:38 +02:00
Lennart Poettering
5916b5bc2d make sure we don't leak userdata struct 2008-08-03 16:30:07 +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
a5a7b79938 fix build without ALSA 2008-08-01 01:54:53 +03:00
Lennart Poettering
5150738333 a bit of pa_bool_t'ization 2008-07-31 21:25:58 +02:00
Lennart Poettering
4f3193dbef allow global tsched setting for all modules loaded by module-hal 2008-07-31 21:24:23 +02:00
Lennart Poettering
e3fb086681 make module-hal and module-ck live together in peace 2008-07-24 03:02:09 +02:00
Lennart Poettering
49f09d6d0e fix destruction of dbus modules: make sure we don't leave filter function registered after unreffing the dbus connection 2008-07-24 02:21:58 +02:00
Lennart Poettering
888256b0be reset dbus error struct before retrying parsing messages 2008-07-24 01:31:33 +02:00
Lennart Poettering
32e93d5c89 follow consolekit's recent D-Bus API change, original patch from William Jon McCan 2008-07-23 16:59:55 +02:00
Lennart Poettering
c415479a55 allow module-x11-xsmp to be loaded more than once 2008-07-23 16:50:48 +02:00
Lennart Poettering
46a35c681f forward process_msg calls to the generic source handler, not the generic sink handler 2008-07-16 11:28:46 +02:00
Lennart Poettering
ff3f43525d try to bypass alsa softvol, since it is broken when used with snd_pcm_rewind() 2008-07-16 11:12:07 +02:00
Lennart Poettering
e6ffec578d make sure we call pa_sink_process_rewind() under all circumstances if a rewind was requested before we call pa_sink_render() 2008-06-28 00:14:46 +02:00
Lennart Poettering
0fb402c8d4 simplify handling of rewrite requests 2008-06-27 21:58:39 +02:00
Lennart Poettering
89620d3f00 handle rewind requests 2008-06-27 21:57:54 +02:00
Lennart Poettering
f0e5cd1613 handle rewind requests 2008-06-27 21:57:44 +02:00
Lennart Poettering
c26be0d762 modernize hashmap implementation a bit, reduce memory consumption a bit 2008-06-27 20:12:24 +02:00
Lennart Poettering
9f0afb391a always forward rewind requests to the sink, and don't abort on nbytes=0 2008-06-26 19:43:45 +02:00
Lennart Poettering
eab1cb8df9 make sure to call process_rewind() under all circumstances before we do the next loop iteration 2008-06-26 02:56:00 +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
ab93f2a087 fix deadlock when resuming oss sinks 2008-06-21 17:44:14 +02:00
Lennart Poettering
d1362b56b7 call the right function in the right context 2008-06-21 02:29:03 +02:00
Lennart Poettering
d9f8b6a503 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 2008-06-21 02:28:34 +02:00
Lennart Poettering
d3c1c920f0 Request a rewrite immediately after we have been linked, so that playback starts immediately 2008-06-20 23:04:12 +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
1420e1d1b5 fix interpretation of remix parameter 2008-06-20 22:29:30 +02:00
Lennart Poettering
11e55fe01f add new remix= parameter to remap sink 2008-06-19 19:23:14 +02:00
Lennart Poettering
c2fa11e179 make user of pa_channel_map_init_extend() wherever it makes sense 2008-06-18 23:44:26 +02:00
Lennart Poettering
822366a653 remove remaining $ 2008-06-18 22:38:32 +02:00
Lennart Poettering
8ae83d618e get rid of svn $ keywords 2008-06-18 23:23:21 +03:00
Lennart Poettering
6c4edd159a add missing gitignore files 2008-06-18 00:51:50 +02:00
Lennart Poettering
b28c6e9890 bring module-tunnel back to life
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2546 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-06-17 18:29:15 +00:00
Lennart Poettering
1fe2f2c461 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
2008-06-16 18:58:54 +00:00
Lennart Poettering
5c149e2a79 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
2008-06-13 21:06:08 +00:00
Lennart Poettering
d39d6c9213 drop hal inclusion from module-console-kit.c
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2522 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-06-12 18:14:46 +00:00
Colin Guthrie
39f59cd249 Trivial typo fix in debug log message.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2521 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-06-12 08:27:20 +00:00
Lennart Poettering
92e4fb318e 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
2008-06-11 19:45:57 +00:00
Lennart Poettering
c33db3ce68 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
2008-06-11 16:58:00 +00:00
Lennart Poettering
2cc95df859 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
2008-06-11 14:28:35 +00:00
Lennart Poettering
62dde3f1cd 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
2008-06-11 00:38:19 +00:00
Lennart Poettering
67fde59fed 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
2008-06-11 00:37:41 +00:00
Lennart Poettering
c4f60d5960 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
2008-05-27 22:08:42 +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
6be0c7526c move device volume file to state dir
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2479 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-05-21 22:47:07 +00:00
Lennart Poettering
9f86d0f543 move default device from runtime to state dir
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2478 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-05-21 22:46:21 +00:00
Lennart Poettering
32c53f303a 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
2008-05-21 22:45:52 +00:00
Lennart Poettering
0a2b6dd38f fix a misplaced assert
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2463 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-05-18 19:06:31 +00:00
Lennart Poettering
7d0b5958a4 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
2008-05-17 09:57:45 +00:00