[pulseaudio-commits] [SCM] PulseAudio Sound Server branch, master, updated. v0.9.13-93-gd8465f2
Lennart Poettering
gitmailer-noreply at 0pointer.de
Mon Oct 13 10:54:19 PDT 2008
This is an automated email from the git hooks/post-receive script. It was
generated because of a push to the "PulseAudio Sound Server" repository.
The master branch has been updated
from 5a5d2884e08e964a8d94302bd065b2187732cb94 (commit)
- Log -----------------------------------------------------------------
d8465f2... Fix two typos that broke tunnels
-----------------------------------------------------------------------
Summary of changes:
src/modules/module-tunnel.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
commit d8465f2c4f22629f84c1b70f5b867ae00fd2760c
Author: Colin Guthrie <pulse at colin.guthr.ie>
Date: Sat Oct 11 18:20:06 2008 +0100
Fix two typos that broke tunnels
Signed-off-by: Lennart Poettering <lennart at poettering.net>
diff --git a/src/modules/module-tunnel.c b/src/modules/module-tunnel.c
index 4bbb11a..a46d6e5 100644
--- a/src/modules/module-tunnel.c
+++ b/src/modules/module-tunnel.c
@@ -508,7 +508,7 @@ static int source_process_msg(pa_msgobject *o, int code, void *data, int64_t off
switch (code) {
- case PA_SINK_MESSAGE_SET_STATE: {
+ case PA_SOURCE_MESSAGE_SET_STATE: {
int r;
if ((r = pa_source_process_msg(o, code, data, offset, chunk)) >= 0)
@@ -520,7 +520,7 @@ static int source_process_msg(pa_msgobject *o, int code, void *data, int64_t off
case PA_SOURCE_MESSAGE_GET_LATENCY: {
pa_usec_t yr, yl, *usec = data;
- yl = pa_bytes_to_usec((uint64_t) u->counter, &PA_SINK(o)->sample_spec);
+ yl = pa_bytes_to_usec((uint64_t) u->counter, &PA_SOURCE(o)->sample_spec);
yr = pa_smoother_get(u->smoother, pa_rtclock_usec());
*usec = yr > yl ? yr - yl : 0;
--
hooks/post-receive
PulseAudio Sound Server
More information about the pulseaudio-commits
mailing list