Lennart Poettering
066e160bbd
udev: tell inotify to actually inform us about ACL changes
2009-08-21 23:24:40 +02:00
Lennart Poettering
2d0120485c
udev: watch for both ACL changes and processes closing devices
2009-08-21 22:49:23 +02:00
Lennart Poettering
4ec701aa21
udev: don't access string after free()
2009-08-21 22:11:38 +02:00
Lennart Poettering
d06680afe8
udev: always verify access before loading modules
2009-08-21 22:06:23 +02:00
Lennart Poettering
14c27c7ade
gconf: use correct path for gconf-helper tool when running from build tree
2009-08-21 22:05:27 +02:00
Lennart Poettering
5317e35543
udev: when a device appears that we cannot access right-away try again later on inotify
2009-08-21 14:55:05 +02:00
Lennart Poettering
fe9a577cf2
alsa: leave headphone jack enabled in normal mixer paths
2009-08-21 03:45:58 +02:00
Lennart Poettering
ac05619141
combine: quieten gcc a bit
2009-08-21 03:45:17 +02:00
Lennart Poettering
8a2a6b2004
adjust various data/library paths automatically if we are run from a build tree
2009-08-21 03:43:53 +02:00
Lennart Poettering
a562978509
ladspa: forward volume changes from ladspa sink to stream and hence via flat volume logic to master sink
2009-08-21 02:59:26 +02:00
Wim Taymans
c1b6a87b27
alsa-sink: reduce the amount of smoother updates
...
Exponentially increase the amount of time between smoother updates. We start
with a 2ms interval and increase up to 200ms intervals.
Smoother updates and the resulting linear regression take a fair amount of CPU
so we want to reduce the amount of updates.
2009-08-20 13:40:27 +02:00
Tanu Kaskinen
179f849c08
dbusifaca-device: Adapt to the changed pa_sink_get/set_volume() interface.
2009-08-19 09:54:09 +03:00
Tanu Kaskinen
292d6dcb5f
Merge branch 'master' of git://0pointer.de/pulseaudio into dbus-work
2009-08-19 09:20:02 +03:00
Tanu Kaskinen
b4e0d5d1e1
dbusiface-sample: Implement the Sample D-Bus interface.
2009-08-19 09:18:50 +03:00
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