Commit graph

205 commits

Author SHA1 Message Date
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
Lennart Poettering
891989896d add new API function pa_sample_spec_init() 2008-10-03 17:13:17 +02:00
Lennart Poettering
8a50105fe0 if a volume or channel map is invalid show so when printing it 2008-10-03 15:16:26 +02:00
Lennart Poettering
33b186e74d user lrint() and friends in inner loops instead of normal C casts to speed up a few things 2008-10-03 02:34:59 +02:00
Lennart Poettering
08cf9db0d1 properly parse response to pa_stream_set_buffer_attr() calls. closes #370 2008-10-02 01:15:58 +02:00
Lennart Poettering
79ad4e63f6 Make the shared memory segment size configurable
This is useful only on systems where memory overcommit is not available
or disabled.
2008-10-01 01:14:36 +02:00
Omair Majid
2ab4bb76b2 fix pa_stream_set_name
This patch fixes a bug in pa_stream_set_name. It uses the media.name
property instead of the application.name property when setting a
stream's name

>From aa1bda11d2084365cb0cec57f37d59f07ab80052 Mon Sep 17 00:00:00 2001
From: Omair Majid <omajid@redhat.com>
Date: Wed, 10 Sep 2008 17:02:28 -0400
Subject: [PATCH] Fix bug in pa_stream_set_name

Signed-off-by: Lennart Poettering <lennart@poettering.net>
2008-09-11 00:37:27 +03:00
Arthur Taylor
f6670a1f2e stream_started_callback userdata bug
Hello

I came across a bug where the userdata parameter of the
stream_started_callback was always NULL in some cases. I couldn't seem
to make a ticket, so here's the one line patch:

Signed-off-by: Lennart Poettering <lennart@poettering.net>
2008-09-10 12:18:36 +03:00
Lennart Poettering
636b520d74 fix S32 validity check 2008-09-10 12:18:05 +03:00
Lennart Poettering
821dc1797f move autospawn lock to pulsecore/ since we don't need it in the client anymore 2008-09-08 17:22:27 +03:00
Lennart Poettering
fb837f0cac rework autospawning to allow to multiple parallel autospawning contexts 2008-09-05 03:22:13 +02:00
Lennart Poettering
994ff984f0 connect to localhost via IP address instead of host name, to avoid needless NSS lookup 2008-09-05 03:20:33 +02:00
Lennart Poettering
b56f344b97 a few minor clean-ups 2008-09-05 01:30:48 +02:00
Lennart Poettering
3429072504 introduce upper channel map definition limit PA_CHANNEL_MAP_DEF_MAX 2008-09-05 01:30:25 +02:00
Lennart Poettering
cb0c97dae7 add new API function pa_channel_map_compatible() 2008-09-05 01:29:07 +02:00
Lennart Poettering
bf403fe0d8 introduce macros for all flags so that clients can check for them with #ifdef 2008-09-03 19:51:33 +02:00
Lennart Poettering
c402de7545 reindent comments a bit 2008-09-03 18:51:46 +02:00
Lennart Poettering
40b66a0be9 Implement "early requests" mode.
PA_STREAM_EARLY_REQUESTS is a new flag that will modify buffering metric
selection behaviour a bit. This code is good for broken ALSA/OSS clients that
ignore 'readability' on the fds in question and schedule audio via usleep()
instead.
2008-09-03 18:31:46 +02:00
Lennart Poettering
2c2b2717eb use gcc malloc attribute macros for internal functions, too 2008-09-01 21:44:00 +02:00
Lennart Poettering
4348fafcc8 don't include leagacy definition PA_STREAM_NOT_MONOTONOUS in docs 2008-09-01 19:17:14 +02:00
Lennart Poettering
f6e187f0a5 prefix internally used inline function with _ 2008-09-01 19:16:12 +02:00
Lennart Poettering
70b820d875 add gcc malloc related function attributes where appropriate 2008-09-01 19:15:07 +02:00
Lennart Poettering
e015879bb8 add malloc related gcc attribute macros 2008-09-01 19:13:37 +02:00