Lennart Poettering
24e582808c
source: rework volume handling
...
- drop the 'virtual_' prefix from s->virtual_volume since we don't
distuingish between reference and real volumes for sources
- introduce an accuracy for source volumes: if the hardware can control
the volume "close enough" don't necessarily adjust the rest in
software unless it is beyond a certain threshold. This should save a
little bit of CPU at the expensive of a bit of accuracy in volume
handling.
- other minor cleanups
2009-08-19 01:35:43 +02:00
Lennart Poettering
2838b78e59
macro: extend comments a bit
2009-08-19 01:03:09 +02:00
Lennart Poettering
a69b729414
voltest: extend test to verify correctness of _multiply() and _divide()
2009-08-19 01:02:32 +02:00
Lennart Poettering
2223a9f938
dbus: never return DBUS_HANDLER_RESULT_HANDLED in filter callbacks, since other callbacks might stell want to have the messages
2009-08-19 00:59:23 +02:00
Lennart Poettering
ef01baf613
volume: round properly when showing human readable volume percentages
2009-08-19 00:58:20 +02:00
Lennart Poettering
96f01b822a
volume: simplify volume multiplifactions, do them in integer only
2009-08-19 00:57:58 +02:00
Lennart Poettering
d634555a3e
volume: introduce pa_cvolume_min() and pa_cvolume_min_mask()
2009-08-19 00:56:16 +02:00
Lennart Poettering
8f928b2e57
macro: simplify page/word alignment macros a bit
2009-08-17 19:17:10 +02:00
Lennart Poettering
fe3a21f6a5
macro: add PA_ROUND_UP/PA_ROUND_DOWN macros
2009-08-17 19:15:33 +02:00
Lennart Poettering
319d187972
bluetooth: fix match syntax
2009-08-17 19:14:35 +02:00
Tanu Kaskinen
36dc61a2bf
dbusiface-stream: Finish the Stream D-Bus interface.
2009-08-17 16:56:12 +03:00
Tanu Kaskinen
70ff96b8ab
dbusiface-device: Save one level of identation by returning early.
2009-08-17 16:55:08 +03:00
Tanu Kaskinen
b528715179
dbusiface-device: Fix argument reading in handle_suspend().
2009-08-17 16:53:58 +03:00
Tanu Kaskinen
bce6af18a3
dbusiface-device: Use a single if-else section instead of ternary operator overuse.
2009-08-17 16:52:10 +03:00
Tanu Kaskinen
150cd1684a
dbusiface-device: Split some overly long lines.
2009-08-17 16:50:29 +03:00
Tanu Kaskinen
efec274b6d
dbusiface-core: Two new functions: pa_dbusiface_core_get_sink/source().
2009-08-17 16:42:58 +03:00
Tanu Kaskinen
a10e8360d7
dbusiface-core: New function: pa_dbusiface_core_get_client_path().
2009-08-17 16:42:06 +03:00
Tanu Kaskinen
f48684e4db
namereg: Revert default device handling back to the upstream version.
2009-08-17 08:26:06 +03:00
Lennart Poettering
90a07435d3
bluetooth: make NameOwnerChanged filter matches more focussed
2009-08-17 03:51:22 +02:00
Lennart Poettering
ffeb1b81ba
volume: document when arguments of certain functions may overlap
2009-08-17 03:50:43 +02:00
Lennart Poettering
caa7928972
libpulse: some minor optimizations when checking equality
2009-08-17 03:50:04 +02:00
Lennart Poettering
50de2d85f9
channelmap: minor doxygen fix
2009-08-17 03:48:51 +02:00
Lennart Poettering
6dd580d465
channelmap: document where the WAVEX channelmap is documented
2009-08-17 03:43:05 +02:00
Lennart Poettering
32a1ef311e
channelmap: adjust RFC3551 channel maps to follow spec more closely
2009-08-17 03:42:34 +02:00
Lennart Poettering
c579cb56e9
reserver: update from upstream git
2009-08-17 03:41:14 +02:00
Lennart Poettering
8208214882
volume: add pa_cvolume_merge() call
2009-08-17 03:40:36 +02:00
pmkovar
91e06c1205
Sending translation for Czech
2009-08-17 00:19:25 +00:00
Tanu Kaskinen
bcaba0b1b4
Merge branch 'master' of git://0pointer.de/pulseaudio into dbus-work
...
Conflicts:
src/Makefile.am
src/daemon/daemon-conf.c
src/daemon/daemon.conf.in
src/modules/module-stream-restore.c
src/pulse/client-conf.c
src/pulsecore/namereg.c
2009-08-16 21:25:48 +03:00
Tanu Kaskinen
2bb3eef414
dbusiface-stream: Implement about a half of the Stream D-Bus interface.
2009-08-16 19:42:56 +03:00
Tanu Kaskinen
f0db081223
dbusiface-device: Free the copied proplist.
2009-08-16 19:41:43 +03:00
Tanu Kaskinen
a72bba18ea
dbusiface-client: Fix indentation.
2009-08-16 19:39:39 +03:00
Lennart Poettering
01e4b61a91
aupdate: implicitly call _write_swap() if it wasn't called explicitly
2009-08-16 02:02:51 +02:00
Lennart Poettering
8dd0d871a7
core: add to FIXMEs
2009-08-16 00:45:56 +02:00
Lennart Poettering
4c29ba9c33
modules: add various checks to avoid selecting objects that are not linked or in another unclear state
2009-08-16 00:45:23 +02:00
Lennart Poettering
2a39663ab6
bluetooth: move installation of mq's earlier to avoid context asserts to be triggered
2009-08-16 00:43:22 +02:00
Lennart Poettering
de4968cdde
bluetooth: ask first for Headset and AudioSink properties, followed by Audio
2009-08-15 22:25:53 +02:00
Lennart Poettering
fa52a91b1a
bluetooth: recognize only those BT devices that implement both the Audio and either AudioSink or Headset interfaces
2009-08-15 22:25:21 +02:00
Lennart Poettering
5c90cf2d6a
bluetooth: drop PA_BT_AUDIO_STATE_LAST since it is unused and we normally call that _MAX anyway
2009-08-15 22:24:13 +02:00
Lennart Poettering
011add1c83
thread-mq: do final q flush only when we aren't dispatching anyway
2009-08-15 22:23:42 +02:00
Lennart Poettering
0c20e740f6
asyncmsgq: introduce pa_asyncmsgq_dispatching()
2009-08-15 22:22:57 +02:00
Tanu Kaskinen
c7f4ed3c7a
dbusiface-client: Fix the interface name.
2009-08-15 17:08:21 +03:00
Tanu Kaskinen
9ed25d7388
dbusiface-client: Implement the properties of the Client D-Bus interface.
...
Based on a patch from Vincent Filali-Ansary.
2009-08-15 16:55:29 +03:00
Tanu Kaskinen
f663d13acd
dbusiface-core: Two new functions: pa_dbusiface_core_get_playback/record_stream_path().
2009-08-15 16:54:11 +03:00
Tanu Kaskinen
91f626f777
dbusiface-device: Implement the Device and DevicePort D-Bus interfaces.
2009-08-15 06:18:41 +03:00
Tanu Kaskinen
22ab141450
dbus-protocol: Use pa_hashmap_remove() instead of _get().
2009-08-15 06:13:17 +03:00
Tanu Kaskinen
1e65d8d35b
dbusiface-core: New function: pa_dbusiface_core_get_card_path().
2009-08-15 06:11:38 +03:00
Tanu Kaskinen
90c73db449
dbusiface-card: Fix the OwnerModule property type in handle_get_all().
2009-08-15 06:09:35 +03:00
Tanu Kaskinen
31c544d843
dbusiface-card: Assert that the profiles list is empty if there's no active
...
profile.
2009-08-15 06:00:46 +03:00
Tanu Kaskinen
18f9f1b5d1
dbusiface-card: Use the ++ operator like it's meant to be used.
2009-08-15 05:58:24 +03:00
Tanu Kaskinen
afb79ee83e
dbusiface-card-profile: Assert the core argument isn't NULL.
2009-08-15 05:53:36 +03:00