Commit graph

1417 commits

Author SHA1 Message Date
Tanu Kaskinen
3de210b671 dbusiface-core: Assert that _add/remove_interface calls succeed. 2009-08-19 09:13:59 +03:00
Tanu Kaskinen
636dbc31f9 dbusiface-core: Use the PA_IDXSET_FOREACH macro. 2009-08-19 09:10:38 +03:00
Tanu Kaskinen
8e6664f499 dbusiface-core: Split some overly long lines. 2009-08-19 09:09:40 +03:00
Lennart Poettering
7af3833b71 lirc: replace manual code by pa_cvolume_{inc|dec}() 2009-08-19 03:37:42 +02:00
Lennart Poettering
2f54798b1a mmkbd: replace manual code by pa_cvolume_{inc|dec}() 2009-08-19 03:37:29 +02:00
Lennart Poettering
8c31974f56 sink: volume handling rework, new flat volume logic
- We now implement a logic where the sink maintains two distinct
  volumes: the 'reference' volume which is shown to the users, and the
  'real' volume, which is configured to the hardware. The latter is
  configured to the max of all streams. Volume changes on sinks are
  propagated back to the streams proportional to the reference volume
  change. Volume changes on sink inputs are forwarded to the sink by
  'pushing' the volume if necessary.

  This renames the old 'virtual_volume' to 'real_volume'. The
  'reference_volume' is now the one exposed to users.

  By this logic the sink volume visible to the user, will always be the
  "upper" boundary for everything that is played. Saved/restored stream
  volumes are measured relative to this boundary, the factor here is
  always < 1.0.

- introduce accuracy for sink volumes, similar to the accuracy we
  already have for source volumes.

- other cleanups.
2009-08-19 02:55:02 +02:00
Lennart Poettering
5207e19142 match: document how broken the module-match logic is 2009-08-19 02:37:35 +02:00
Lennart Poettering
d6f598ab3e udev: allow passing of ignore_dB= parameter to alsa modules 2009-08-19 02:29:59 +02:00
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
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
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
Lennart Poettering
90a07435d3 bluetooth: make NameOwnerChanged filter matches more focussed 2009-08-17 03:51:22 +02:00
Lennart Poettering
c579cb56e9 reserver: update from upstream git 2009-08-17 03:41:14 +02: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
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
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
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
Tanu Kaskinen
8b5550dba3 dbusiface-card: Split some overly long lines. 2009-08-15 05:51:55 +03:00
Lennart Poettering
e5b08a81d2 ladspa/remap: sync latency flags from master sink when moving between sinks 2009-08-15 03:42:16 +02:00
Marc-André Lureau
3ecb80e19a bluetooth: fix typo with service_{read,write}_type 2009-08-15 02:43:36 +02:00
Marc-André Lureau
fd32fee448 bluetooth: don't call pa_sink_render with 0 bytes request 2009-08-15 02:42:56 +02:00
Maarten Bosmans
61105df13b combine: determine sample parameters of combined sink from underlying sinks
http://pulseaudio.org/ticket/521
2009-08-15 01:38:06 +02:00
Lennart Poettering
1eeddd84d2 combine: warn when the latency of a stream gets too high 2009-08-15 01:16:57 +02:00
Lennart Poettering
e1f3f5e0bf combine: big rework 2009-08-15 01:07:37 +02:00
Lennart Poettering
8947d65515 combine: drop adjust_timestamp variable because it is unused 2009-08-15 01:04:21 +02:00
Lennart Poettering
a5b2dee03c ladspa: name sink after human readable plugin name, not the id string 2009-08-15 01:02:16 +02:00
Lennart Poettering
763866280a module-ladspa: allow moving of sink, forward fixed latency 2009-08-15 01:01:52 +02:00
Lennart Poettering
1b3848ebd7 module-remap: allow moving of sink, forward fixed latency
This is a bigger change reworking a number of things:

- We now allow moving of the remap sink betwween backend sinks like any
  other stream.

- We forward the fixed latency parameter of the underlying sinks the
  same way as the dynamic latency.
2009-08-15 00:59:26 +02:00