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
Lennart Poettering
5bbeb516aa
simple: split data/length validity checks into two
2009-08-05 01:05:08 +02:00
Lennart Poettering
53fcf3add0
simple: call pa_context_disconnect() just to be sure
2009-08-05 01:04:50 +02:00
Lennart Poettering
a73c615b74
simple: always loop around pa_threaded_mainloop_wait() to handle spurious wakeups properly
2009-08-05 01:04:36 +02:00
Lennart Poettering
b553e7283d
simple: use pa_xnew0 instead of manual reset to 0
2009-08-05 01:04:08 +02:00
Lennart Poettering
a4bc41a7a5
simple: use PA_xxx_IS_GOOD for state checks
2009-08-05 01:03:49 +02:00
Lennart Poettering
3e2ab9b22e
client: extend documentation on pa_operation_cancel() a bit
2009-08-03 23:07:59 +02:00
Lennart Poettering
478f3254b3
client: documented that pa_stream_drain() may only have a single operation active at a time
...
Closes #552 .
2009-07-31 23:09:16 +02:00
Lennart Poettering
2952f28c06
client: fix documentation for threaded mainloop
...
Closes #553
2009-07-31 23:07:07 +02:00
Lennart Poettering
4f5e2b745e
threaded-mainloop: loop around pa_cond_wait() invocation in pa_threaded_mainloop_signal()
2009-07-30 23:46:25 +02:00
Lennart Poettering
8343360da1
client: minor modernizations
2009-07-25 03:11:09 +02:00
Lennart Poettering
6ce7d208f0
client: if a child we created was already reaped, assume that it was successful
2009-07-25 01:29:36 +02:00
Lennart Poettering
211d0f3dcb
client: limit block size for zero-copy operations to mempool block size
2009-07-24 20:21:30 +02:00
Lennart Poettering
e7ca058427
client: make volume struct const
2009-07-24 20:20:34 +02:00
Lennart Poettering
5efb07281d
alsa: throw timing data away after device resume
2009-07-24 20:13:52 +02:00
Lennart Poettering
f6763917ee
autospawn: refuse autospawning if process disabled waitpid()
2009-07-24 18:22:13 +02:00
Lennart Poettering
88d5749f6a
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
...
Conflicts:
src/daemon/main.c
2009-07-23 15:18:06 +02:00
Lennart Poettering
23039af842
client: allow zero-copy writing to the stream
2009-07-20 15:49:33 +01:00
Colin Guthrie
61fefd67da
introspect: Fix two memory issues in port handling code.
...
First one is a simple typo on an error condition that would have likely caused issues if it ever cropped up.
Second issue is that port information is never actually freed if everything works fine.
2009-07-12 21:07:58 +01:00
Lennart Poettering
b174a51120
libpulse: minor cleanups
2009-07-01 14:26:07 +02:00
Colin Guthrie
59376b039e
introspect: Fix a bug in sink/source info protocol handling related to ports.
...
Previously the active_profile was extracted from the tagstruct regardless of
the protocol version which caused errors while speaking to older version
servers.
2009-06-29 22:52:31 +01:00
Tanu Kaskinen
c266595058
Merge branch 'master' into dbus-work
2009-06-29 18:55:12 +03:00
Diego Elio 'Flameeyes' Pettenò
1ca7603109
Add missing headers includes for FreeBSD.
...
This removes the implicit declarations of send() and pthread_sigmask().
2009-06-29 17:42:07 +02:00
Tanu Kaskinen
0bc538b08c
Merge branch 'master' into dbus-work
...
Conflicts:
src/daemon/daemon-conf.c
src/daemon/daemon-conf.h
src/daemon/main.c
src/pulsecore/dbus-util.h
2009-06-29 18:35:06 +03:00
Lennart Poettering
9217b47b19
timeval: don't create the wrong illusion that nsecs should be stored in pa_usec_t
2009-06-23 00:16:42 +02:00
Lennart Poettering
f3bbbd0fd3
rtclock: document that we fallback to wallclock time if monotonic time is not supported
2009-06-23 00:15:57 +02:00
Lennart Poettering
f753ef2a23
rtclock: enable rtclock for our own mainloop implementations
2009-06-22 23:49:40 +02:00
Marc-André Lureau
e4d914c945
rtclock: fix issues found by Lennart
2009-06-20 17:29:34 +03: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
Marc-André Lureau
5dcdd5e358
perl -p -i -e 's/pa_rtclock_usec/pa_rtclock_now/g' find . -name '*.[ch]'
2009-06-19 19:04:04 +03:00
Lennart Poettering
46b8ca21d1
native-protocol: allow enumerating ports
2009-06-17 23:17:37 +02:00