Commit graph

52 commits

Author SHA1 Message Date
Vladimir Kokarev
d2c59354d5 volume: add pa_cvolume_inc_clamp function
added function to increase volume not exceeding specified limit
simply changed PA_VOLUME_MAX to 'limit' in pa_cvolume_inc
pa_cvolume_inc now calls pa_cvolume_inc_clamp with PA_VOLUME_MAX limit
2009-11-05 04:56:47 +01:00
Lennart Poettering
4538523a29 libpulse: introduce pa_context_get_tile_size() call 2009-10-28 23:26:48 +01:00
Lennart Poettering
d0b478e9a6 Merge remote branch 'coling/history' 2009-10-07 03:46:06 +02:00
Colin Guthrie
f9b2d6500b device-manager: Change the prefer/defer options to a single 'reorder' command.
We put in the devices from the wire into a hashmap and then add all like type device in the database
and then order them based on priority (with the ones specified on the wire always being in that order at
the top of the list.
2009-10-01 09:08:32 +01:00
Colin Guthrie
1e2d236b99 device-manager: Update exports 2009-10-01 09:08:31 +01:00
Colin Guthrie
0b3b037e22 device-manager: Export device-manager extension functions 2009-10-01 09:08:28 +01:00
Tanu Kaskinen
292d6dcb5f Merge branch 'master' of git://0pointer.de/pulseaudio into dbus-work 2009-08-19 09:20:02 +03:00
Lennart Poettering
cfef930036 volume: introduce pa_cvolume_{inc|dec}() 2009-08-19 02:32:36 +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
8208214882 volume: add pa_cvolume_merge() call 2009-08-17 03:40:36 +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
1457df40ee proplist: New function: pa_proplist_equal() 2009-08-09 07:59:06 +03:00
Lennart Poettering
e02e0259e5 client: include zerocopy write calls in map file 2009-07-23 20:00:08 +02:00
Marc-André Lureau
0955e3d45b Base mainloop on pa_rtclock_now()
Move the mainloop to monotonic based time events.

Introduces 4 helper functions:
pa_{context,core}_rttime_{new,restart}(), that fill correctly a
timeval with the rtclock flag set if the mainloop supports it.

Both mainloop-test and mainloop-test-glib works with rt and timeval
based time events. PulseAudio and clients should be fully functional.

This patch has received several iterations, and this one as been
largely untested.

Signed-off-by: Marc-André Lureau <marca-andre.lureau@nokia.com>
2009-06-20 17:29:31 +03:00
Marc-André Lureau
125c528896 pulse: move pa_rtclock_now in pulsecommon 2009-06-20 17:29:08 +03:00
Lennart Poettering
914ef89e55 libpulse: implement client side for sink/source port selection commands 2009-06-17 04:54:11 +02:00
Lennart Poettering
d9939690ed channelmap: implement pa_channel_position_from_string() 2009-06-17 03:05:30 +02:00
Lennart Poettering
64b0f38b67 volume: implement functions for multiplicating a cvolume with a scalar 2009-06-17 03:04:21 +02:00
Lennart Poettering
8b180b6368 volume: implement pa_cvolume_{scale|max|avg}_mask() 2009-05-25 23:55:44 +02:00
Lennart Poettering
5f2d848d8e map-file: add missing channel map/cvolume position functions 2009-05-25 23:54:08 +02:00
Lennart Poettering
01fa34ba8a channelmap: introduce pa_channel_map_mask() and pa_channel_position_mask_t 2009-05-25 23:51:34 +02:00
Lennart Poettering
261a4830fb sample: introduce pa_proplist_setp() 2009-05-25 23:50:18 +02:00
Lennart Poettering
346a708c2c sample: introduce pa_sample_format_is_{le,be,ne,re}() 2009-05-25 23:49:47 +02:00
Lennart Poettering
0aa99c48d0 add buffer_attr callback stuff to exported symbol list 2009-04-01 00:33:40 +02:00
Lennart Poettering
823431e447 allow sending meta/policy events to clients 2009-02-12 03:18:05 +01:00
Lennart Poettering
0fc59e4585 add new API pa_ascii_valid(), pa_ascii_filter() 2009-02-04 17:11:56 +01:00
Lennart Poettering
ce76216bce add pa_sample_size_of_format() 2009-02-04 17:10:15 +01:00
Lennart Poettering
543115ae17 add new API pa_cvolume_compatible_with_channel_map() 2009-02-03 21:15:32 +01:00
Lennart Poettering
b979ab3948 implement pa_channel_map_can_fade 2009-01-31 01:17:09 +01:00
Lennart Poettering
1b53f8297f implement pa_cvolume_{get|set}_fade 2009-01-30 00:22:59 +01:00
Lennart Poettering
4e31e00b63 implement pa_cvolume_scale() 2009-01-27 00:47:07 +01:00
Lennart Poettering
e52c5ea68a implement new API functions pa_channel_map_can_balance(), pa_channel_map_to_name() and pa_channel_map_to_pretty_name() 2009-01-27 00:46:39 +01:00
Lennart Poettering
04e9214065 export pa_channel_map_superset() 2009-01-20 21:37:23 +01:00
Lennart Poettering
a65c2c7336 add client API for querying card information 2009-01-20 03:25:29 +01:00
Lennart Poettering
723d71a021 add api for manipulating volume balances 2009-01-19 21:45:58 +01:00
Lennart Poettering
a45f971e43 add pa_proplist_to_string_sep() 2009-01-17 01:59:37 +01:00
Lennart Poettering
cd45cd9e3e include new proplist functions in export list 2009-01-14 00:07:32 +01:00
Marc-André Lureau
01f71ac7a1 libpulse: add proplist_from_string 2009-01-13 16:59:46 +02:00
Lennart Poettering
6342053b34 Add new API functions pa_volume_snprint() and pa_sw_volume_snprint_dB() 2008-12-24 00:45:06 +01:00
Lennart Poettering
a2b3d252af update map file 2008-10-22 20:38:11 +02:00
Lennart Poettering
7a1a147881 rename pa_cvolume_snprint_dB to pa_sw_cvolume_snprint_dB since it is
useful only for software volumes
2008-10-03 22:21:27 +02:00
Lennart Poettering
c0a9e8bfb7 add missing calls to map file 2008-10-03 17:44:17 +02:00
Lennart Poettering
ebb2ecbe12 add new API call pa_cvolume_compatible() 2008-10-03 17:43:40 +02:00
Lennart Poettering
619ed8a82d add new API call pa_cvolume_snprint_dB() 2008-10-03 17:42:38 +02:00
Lennart Poettering
ece297f21b update map file 2008-09-05 01:29:24 +02:00
Lennart Poettering
51d181c57e update list of exported symbols 2008-08-04 19:44:55 +02:00
Lennart Poettering
132e73b2ef add new API pa_channel_map_init_extend() to synthesize a channel map if noone is known 2008-06-18 23:42:14 +02:00
Lennart Poettering
b27cc1d426 fix a bad memory access pulsecore/client.c
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2527 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-06-13 21:56:19 +00:00
Lennart Poettering
045c1d602d merge glitch-free branch back into trunk
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2445 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-05-15 23:34:41 +00:00
Lennart Poettering
63c616eecc add new property list implementation
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2085 fefdeb5f-60dc-0310-8127-8f9354f1896f
2007-12-23 20:12:37 +00:00