Commit graph

377 commits

Author SHA1 Message Date
Lennart Poettering
d5f46e824e move flat volume logic into the core. while doing so add n_volume_steps field to sinks/sources 2009-01-27 04:39:07 +01:00
Lennart Poettering
1be39e4fa5 allow samples to be played with 'default' (i.e. unspecified) volume. 2009-01-27 03:05:40 +01:00
Lennart Poettering
5449d793ae swap argument order of pa_cvolume_get_balance() to be a bit more systematic 2009-01-27 02:45:37 +01:00
Lennart Poettering
df8ad5d18f add a few missing doxygen comments 2009-01-27 02:37:13 +01:00
Lennart Poettering
6058530571 import version.h in all header files to make sure that version-based feature testing works 2009-01-27 02:36:42 +01:00
Lennart Poettering
1249cf6dc9 always define PA_MAJOR/PA_MINOR/PA_MICRO to ease feature checking in client applications 2009-01-27 02:16:20 +01:00
Lennart Poettering
ccd21f33cf make a few comments appear in doxygen 2009-01-27 00:49:58 +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
a5c9546fc7 fix copy'n'paste error 2009-01-22 00:17:55 +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
936862362c don't divide by zero if no left resp. no right channels are defined 2009-01-20 03:24:11 +01:00
Lennart Poettering
b23efc0a4d add missing eof checks 2009-01-20 02:15:43 +01:00
Lennart Poettering
8839d86672 remove misplaced whitespace 2009-01-20 00:14:50 +01:00
Lennart Poettering
8886e66ff6 Document explicitly that the internal sink/source states are not considered part of the ABI/API 2009-01-19 23:54:44 +01:00
Marc-André Lureau
310f433848 pulse: share private enum values with client side 2009-01-20 00:16:18 +02:00
Marc-André Lureau
9c4f8e627a pulse: introspect sink state 2009-01-20 00:16:18 +02:00
Lennart Poettering
5f6641cfdd Beef pactl output up a bit 2009-01-19 23:07:34 +01:00
Lennart Poettering
23cd942a0d fix doxygen version references 2009-01-19 23:03:22 +01:00
Lennart Poettering
b43a45d184 allow setting properties for modules, too 2009-01-19 22:02:28 +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
4a13763797 Add support for 24bit samples encoded in the LSB of 32 bit words 2009-01-16 18:39:36 +01:00
Lennart Poettering
6dc76d1158 add support for 24bit packed samples 2009-01-16 03:15:39 +01:00
Lennart Poettering
4d4956ea2f Add SPDIF/HDMI ALSA devices and device descriptions to device search table 2009-01-15 23:46:42 +01:00
Lennart Poettering
395523a0bb we don't support glib1.2 anymore 2009-01-15 20:14:58 +01:00
Lennart Poettering
29c7a28817 kill autoload stuff as planned 2009-01-15 20:07:13 +01:00
Lennart Poettering
b6deb0cc4c add new pa_card object as a way to logically combine multiple sinks and sources 2009-01-15 18:29:16 +01:00
Lennart Poettering
0b0b3d895d make PA_CONTEXT_IS_GOOD/PA_STREAM_IS_GOOD a macro so that we can easily check for its availability 2009-01-15 18:23:32 +01:00
Lennart Poettering
fd3f5db63c document that PA_API_VERSION is only for incompatible API changes 2009-01-15 00:03:33 +01:00
Lennart Poettering
f3101133d7 Merge commit 'elmarco/master' 2009-01-14 00:22:27 +01:00
Lennart Poettering
1872526508 add pa_proplist_size() and pa_proplist_isempty() 2009-01-14 00:06:26 +01:00
Lennart Poettering
ef5a2b5f2c Fix version info 2009-01-14 00:05:54 +01:00
Marc-André Lureau
09641cc707 build: fix few warnings 2009-01-13 22:56:02 +02:00
Marc-André Lureau
01f71ac7a1 libpulse: add proplist_from_string 2009-01-13 16:59:46 +02:00
Lennart Poettering
d94d39d635 read base volume only in proto 15 2009-01-12 19:44:08 +01:00
Lennart Poettering
6130c5c11b Add "base volume" field to sinks/sources 2008-12-24 00:49:43 +01: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
adc2973c8d Implement new flags DONT_INHIBIT_AUTO_SUSPEND and START_UNMUTED 2008-10-26 19:32:04 +01:00
Lennart Poettering
6d52a41307 add missing include 2008-10-05 15:38:56 +02:00
Lennart Poettering
da4ad5ed01 implement pa_sw_volume_divide() and pa_sw_cvolume_divide() 2008-10-04 01:40:41 +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
28af9944fe increase PA_CVOLUME_SNPRINT_MAX to a proper value and document that it is not considered part of the ABI 2008-10-03 17:45:55 +02:00
Lennart Poettering
bde142c237 when checking the validity of a cvolume check whether all values are not -1 2008-10-03 17:45:04 +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
be77bcd9ad add new API call pa_cvolume_init() 2008-10-03 17:16:55 +02:00
Lennart Poettering
db975c7127 extend documentation for pa_channel_map_init() 2008-10-03 17:15:43 +02:00
Lennart Poettering
d56f3751fe treat a channel map only then as compatible with a sample spec if it is valid 2008-10-03 17:14:02 +02:00