Commit graph

669 commits

Author SHA1 Message Date
Lennart Poettering
6b8fdc4169 CANCELLED vs. CANCELED
Define CANCELLED as alias for CANCELED
2009-09-17 01:19:55 +02:00
Lennart Poettering
12f211105e gccmacro: enable weakrefs only on ELF 2009-09-15 04:31:54 +02:00
Lennart Poettering
5919337433 proplist: define properties for storing window position 2009-09-11 02:16:17 +02:00
Lennart Poettering
42b795b408 doxygen: don't confuse doxygen with spurious .. 2009-09-11 01:49:55 +02:00
Lennart Poettering
4e3f7d5577 doxygen: add rtclock.h to documentation 2009-09-11 01:49:39 +02:00
Lennart Poettering
297f318206 doxygen: drop references to pacat.c and paplay.c as examples since tehy are not useful as such and in the case of paplay not even existant anymore 2009-09-11 01:49:16 +02:00
Lennart Poettering
54609675e5 libpulse: add new error code PA_ERR_BUSY 2009-09-11 01:20:45 +02:00
Lennart Poettering
12c7460e40 libpulse: don't support pa_context_get_card_info_list() on servers that cannot handle it 2009-09-10 02:16:00 +02:00
Lennart Poettering
05506d7dc2 utf8: minor simplification 2009-09-08 23:49:42 +02:00
Lennart Poettering
f5046759cd llvm-clang-analyzer: drop a few unnecessary assignments and other trivial fixes 2009-09-08 23:46:23 +02:00
Lennart Poettering
08a4d57ce2 libpulse: allow invocation of pa_context_play_sample_with_proplist() with NULL proplist 2009-09-07 22:43:35 +02:00
Lennart Poettering
41a0dc1e99 volume: if pa_cvolume_set_{balance|fade}() is called with invalid fade/balance value log, but don't assert 2009-09-07 20:11:11 +02:00
Lennart Poettering
d000dd6f4b volume: when passing NULL as channel map to pa_cvolume_scale_mask() handle this the same way as pa_cvolume_scale() 2009-09-07 20:11:08 +02:00
Lennart Poettering
9755bfa58a volume: drop some redundant but expensive validity checks 2009-09-07 20:09:52 +02:00
Lennart Poettering
cc6c4fe91f volume: add a couple of validity checks for pa_volume_t arguments 2009-09-07 19:59:18 +02:00
Lennart Poettering
3bbc5e6a4d volume: fix definition of PA_VOLUME_MAX and introduce PA_VOLUME_INVALID and use it wherever applicable 2009-09-07 19:53:39 +02:00
Lennart Poettering
5cf0c1e544 introspect: rearrange order of functions a bit 2009-09-06 23:14:15 +02:00
Lennart Poettering
e6a666d8d5 libpulse: introduce PA_BYTES_SNPRINT_MAX and make use of it wherever applicable 2009-09-06 22:33:04 +02:00
Tanu Kaskinen
0ad2d55cbe Merge branch 'master' of git://0pointer.de/pulseaudio into dbus-work
Conflicts:
	src/modules/module-stream-restore.c
2009-08-30 20:07:31 +03:00
Andy Shevchenko
300384ce0a Fix checking for NULL after usage
The pa_xmalloc calls oom() in case of NULL pointer returned by malloc() on one
hand and dereferencing of pointer is happen early than actual check on other
hand. Thus, just remove useless checks.
2009-08-28 17:12:44 +02:00
Lennart Poettering
35fcb27a81 proplist: allow setting of zero-length data properties 2009-08-27 05:33:45 +02:00
Tanu Kaskinen
2f3fc2f1d6 Merge branch 'master' of git://0pointer.de/pulseaudio into dbus-work
Conflicts:
	src/Makefile.am
2009-08-24 14:43:11 +03:00
Tanu Kaskinen
187c4f32cf proplist: A couple of documentation fixes. 2009-08-24 14:23:49 +03:00
Tanu Kaskinen
1e4e26c87f proplist: Return early from pa_proplist_equal() if the pointers are equal. 2009-08-24 14:22:32 +03:00
Lennart Poettering
ab5ac06ac7 Merge commit 'wtay/optimize' 2009-08-23 00:06:35 +02:00
Ted Percival
15eb03a5b3 core: Add thread-safe group info functions with dynamic buffers
Provides getgrgid, getgrnam, getpwuid & getpwnam replacements that are
thread safe (a la getgrgid_r() and friends) that internally
handle allocating big-enough buffers to avoid ERANGE errors
on large users or groups.
2009-08-22 00:53:39 +02:00
Wim Taymans
d2389ef96e sample: manually inline table lookups
Manually inline some table lookups to avoid excessive calls to
pa_sample_spec_valid().
2009-08-20 11:31:04 +02:00
Xabier Rodriguez Calvar
52e5d4b1d2 Modification of the thread-mainloop doc to ensure that nobody frees the api as it is owned by the loop. 2009-08-20 02:31:08 +02:00
Xabier Rodriguez Calvar
65f86ef7d4 Modification of the mainloop doc to ensure that nobody frees the api as it is owned by the loop. 2009-08-20 02:31:02 +02:00
Xabier Rodriguez Calvar
30ba9030ef Modification of the glib-mainloop doc to ensure that nobody frees the api as it is owned by the loop. 2009-08-20 02:30:54 +02: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
1421eff0b6 volume: use PA_VOLUME_MAX instead of (pa_volume_t) -1 2009-08-19 02:31:11 +02:00
Lennart Poettering
ef01baf613 volume: round properly when showing human readable volume percentages 2009-08-19 00:58:20 +02:00
Lennart Poettering
96f01b822a volume: simplify volume multiplifactions, do them in integer only 2009-08-19 00:57:58 +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
ffeb1b81ba volume: document when arguments of certain functions may overlap 2009-08-17 03:50:43 +02:00
Lennart Poettering
caa7928972 libpulse: some minor optimizations when checking equality 2009-08-17 03:50:04 +02:00
Lennart Poettering
50de2d85f9 channelmap: minor doxygen fix 2009-08-17 03:48:51 +02:00
Lennart Poettering
6dd580d465 channelmap: document where the WAVEX channelmap is documented 2009-08-17 03:43:05 +02:00
Lennart Poettering
32a1ef311e channelmap: adjust RFC3551 channel maps to follow spec more closely 2009-08-17 03:42:34 +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
Marc-André Lureau
d8a90a3900 pulse: even in case of record stream, let's initialize req_bytes to 0 2009-08-15 02:44:29 +02:00
Lennart Poettering
0f2a4ed422 volume: guarantee dB/linear conversion is reversible 2009-08-14 20:03:30 +02:00
Lennart Poettering
5921324fd3 context: document why we only do minimal cleanups before the autospawn exec() 2009-08-12 21:40:12 +02:00
Lennart Poettering
facae1f275 conf: invert all negative boolean configuration option 2009-08-12 20:15:28 +02:00
Maxim Levitsky
23a294c97e Correctly deal with events in the past in calc_next_timeout
pa_usec_t is unsigned, thus it will always be >= 0
This makes gstreamer pulse mixer work again

This fixes a gstreamer mixer regression, when it can't control the volume,
after few changes.
2009-08-10 21:23:26 +02:00
Tanu Kaskinen
1457df40ee proplist: New function: pa_proplist_equal() 2009-08-09 07:59:06 +03:00
Lennart Poettering
2cab6a256c simple: check for == RUNNING instead of != DONE when waiting for operations 2009-08-05 01:05:35 +02:00