Commit graph

1255 commits

Author SHA1 Message Date
Lennart Poettering
f4c2f00f78 Work around presumable ALSA bug that treats the dir argument to
snd_pcm_hw_params_set_periods_near() actually as > or < instead of >= and <=.
2008-09-09 00:04:50 +03:00
Lennart Poettering
12c5c62dad Downgrade hrtimer warning to notice level 2008-09-05 00:38:52 +02:00
Lennart Poettering
1c4ad4b64b rework device opening code: work around broken SND_PCM_NO_AUTO_xxx support in ALSA <= 1.0.17a 2008-08-31 16:25:37 +02:00
Lennart Poettering
54da71ef5d reduce needlessly large gdbm cache a bit 2008-08-29 01:48:31 +02:00
Ed Catmur
3d07cc8112 alsa_error_handler should note source of errors
When an error gets passed up from alsa-lib via alsa_error_handler, it's unclear
the source of the error. alsa_error_handler should note that the error came
from alsa-lib. (Closes #341)
2008-08-26 23:19:43 +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
e65c514542 don't unref pa_native_options object twice 2008-08-18 20:07:32 +02:00
Lennart Poettering
5cc2187bec add some code to make invalid valgrind warnings go away 2008-08-18 19:55:55 +02:00
Lennart Poettering
b8ba2de7dd restore volume/device for streams only when it wasn't set before 2008-08-18 17:49:47 +02:00
Lennart Poettering
67858c6e46 fix type error 2008-08-18 17:36:59 +02:00
Lennart Poettering
8d596a9bc5 Make Multicast TTL for RTP configurable, patch from 'dfort'
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2008-08-15 14:40:08 +02:00
Lennart Poettering
f84536bc0a apply newly configured rules properly 2008-08-15 14:38:18 +02:00
Lennart Poettering
63402b392b apply volumes properly more than once in a row 2008-08-15 14:37:54 +02:00
Lennart Poettering
512c24c65a apply the correct rules to sink inputs 2008-08-15 14:37:26 +02:00
Lennart Poettering
f68a6e5cab don't restore devices for direct-on-input streams 2008-08-15 14:36:24 +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
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