[pulseaudio-commits] 2 commits - src/modules src/pulse src/pulsecore

Arun Raghavan arun at kemper.freedesktop.org
Thu Jul 14 14:14:46 PDT 2011


 src/modules/module-null-sink.c  |    2 +-
 src/pulse/stream.c              |    2 +-
 src/pulsecore/protocol-native.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 8840ebf9c361208f955577f8af1c0110cdc843d2
Author: Ralph Giles <giles at mozilla.com>
Date:   Thu Jul 14 13:59:38 2011 -0700

    Fix two comment typos.

diff --git a/src/modules/module-null-sink.c b/src/modules/module-null-sink.c
index bedd6ef..09e6ab7 100644
--- a/src/modules/module-null-sink.c
+++ b/src/modules/module-null-sink.c
@@ -173,7 +173,7 @@ static void process_render(struct userdata *u, pa_usec_t now) {
 
     /* This is the configured latency. Sink inputs connected to us
     might not have a single frame more than the maxrequest value
-    queed. Hence: at maximum read this many bytes from the sink
+    queued. Hence: at maximum read this many bytes from the sink
     inputs. */
 
     /* Fill the buffer up the the latency size */
diff --git a/src/pulse/stream.c b/src/pulse/stream.c
index 373bc34..3658064 100644
--- a/src/pulse/stream.c
+++ b/src/pulse/stream.c
@@ -1653,7 +1653,7 @@ pa_operation * pa_stream_drain(pa_stream *s, pa_stream_success_cb_t cb, void *us
     pa_pstream_send_tagstruct(s->context->pstream, t);
     pa_pdispatch_register_reply(s->context->pdispatch, tag, DEFAULT_TIMEOUT, pa_stream_simple_ack_callback, pa_operation_ref(o), (pa_free_cb_t) pa_operation_unref);
 
-    /* This might cause the read index to conitnue again, hence
+    /* This might cause the read index to continue again, hence
      * let's request a timing update */
     request_auto_timing_update(s, TRUE);
 

commit a823fae3e5b2fad32e8d4f44030881f28121479f
Author: Arun Raghavan <arun.raghavan at collabora.co.uk>
Date:   Tue Jul 12 14:46:21 2011 -0700

    protocol-native: Trivial fix for a compiler warning

diff --git a/src/pulsecore/protocol-native.c b/src/pulsecore/protocol-native.c
index 0fa4f1a..f069e83 100644
--- a/src/pulsecore/protocol-native.c
+++ b/src/pulsecore/protocol-native.c
@@ -1898,7 +1898,7 @@ static pa_tagstruct *reply_new(uint32_t tag) {
 static void command_create_playback_stream(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa_tagstruct *t, void *userdata) {
     pa_native_connection *c = PA_NATIVE_CONNECTION(userdata);
     playback_stream *s;
-    uint32_t sink_index, syncid, missing;
+    uint32_t sink_index, syncid, missing = 0;
     pa_buffer_attr attr;
     const char *name = NULL, *sink_name;
     pa_sample_spec ss;



More information about the pulseaudio-commits mailing list