Commit graph

1038 commits

Author SHA1 Message Date
Lennart Poettering
abd85af939 drop 0db reset functions since they are not necessary anymore 2008-08-13 13:59:29 +02:00
Lennart Poettering
8a10eba744 extend hardware dB scale in software to full range if necessary, instead of reverting back to software-only volume control 2008-08-13 13:59:06 +02:00
Lennart Poettering
29daef7a26 add new function pa_alsa_volume_divide() 2008-08-13 13:54:17 +02:00
Lennart Poettering
8ab85fdf9e reword some log messages 2008-08-13 13:53:31 +02:00
Lennart Poettering
3c88af711e fix protocol destruction 2008-08-13 13:51:13 +02:00
Lennart Poettering
8ca254c490 fix two uninitialized memory accesses 2008-08-11 19:46:11 +02:00
Lennart Poettering
72f520f93c make gcc shut up 2008-08-09 17:04:27 +02:00
Lennart Poettering
432b4e5f7d don't use PA_GCC_UNUSED anymore 2008-08-09 16:20:29 +02:00
Lennart Poettering
ecb2bc4f04 Modify pa_state_path() to take an additional argument for prepending the machine id to the file name. 2008-08-07 02:28:47 +02:00
Lennart Poettering
b983c0bd14 include host name in default sink/default source file 2008-08-06 21:35:32 +02:00
Lennart Poettering
756fac8d04 add new switch --disallow-exit 2008-08-06 19:39:12 +02:00
Lennart Poettering
34dd4a20f2 fix shutdown when --disallow-module-loading=1 is passed 2008-08-05 23:56:25 +02:00
Lennart Poettering
ca127532fc add a function to dump the stream database for debugging purposes 2008-08-05 19:03:11 +02:00
Lennart Poettering
88c3db6636 add protocol extension to module-stream-restore 2008-08-04 19:01:13 +02:00
Lennart Poettering
6cc3a615fa store channel map in database and remap volumes if necessary 2008-08-04 19:00:43 +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
c01f0bc01f split out save trigger function 2008-08-04 18:56:12 +02:00
Lennart Poettering
32cf9db434 store channel map in database and remap volumes if ncessary 2008-08-04 18:55:50 +02:00
Lennart Poettering
ad76ca0a35 add new module module-stream-restore 2008-08-03 23:23:13 +02:00
Lennart Poettering
ec19f2bbf8 a bit of refactoring 2008-08-03 23:22:38 +02:00
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