summaryrefslogtreecommitdiff
path: root/src/pulse/stream.c
diff options
context:
space:
mode:
authorMaarten Bosmans <mkbosmans@gmail.com>2011-08-24 18:24:46 +0200
committerColin Guthrie <colin@mageia.org>2011-08-25 11:27:47 +0100
commitc5dca7cf2b0423f152c6e81a503cc9639b08f09f (patch)
tree79152766b25a399806bc474e99f9a3e6c81fc341 /src/pulse/stream.c
parent231645d4fc247d9adf06549d087a0a1fb73b9c46 (diff)
More spelling fixes
Diffstat (limited to 'src/pulse/stream.c')
-rw-r--r--src/pulse/stream.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pulse/stream.c b/src/pulse/stream.c
index 416efb7f2..e7e3211bc 100644
--- a/src/pulse/stream.c
+++ b/src/pulse/stream.c
@@ -245,7 +245,7 @@ static void stream_unlink(pa_stream *s) {
/* Detach from context */
- /* Unref all operatio object that point to us */
+ /* Unref all operation object that point to us */
for (o = s->context->operations; o; o = n) {
n = o->next;
@@ -1206,7 +1206,7 @@ static int create_stream(
PA_CHECK_VALIDITY(s->context, s->context->version >= 12 || !(flags & PA_STREAM_VARIABLE_RATE), PA_ERR_NOTSUPPORTED);
PA_CHECK_VALIDITY(s->context, s->context->version >= 13 || !(flags & PA_STREAM_PEAK_DETECT), PA_ERR_NOTSUPPORTED);
PA_CHECK_VALIDITY(s->context, s->context->state == PA_CONTEXT_READY, PA_ERR_BADSTATE);
- /* Althought some of the other flags are not supported on older
+ /* Although some of the other flags are not supported on older
* version, we don't check for them here, because it doesn't hurt
* when they are passed but actually not supported. This makes
* client development easier */
@@ -1804,7 +1804,7 @@ static void stream_get_timing_info_callback(pa_pdispatch *pd, uint32_t command,
pa_gettimeofday(&now);
- /* Calculcate timestamps */
+ /* Calculate timestamps */
if (pa_timeval_cmp(&local, &remote) <= 0 && pa_timeval_cmp(&remote, &now) <= 0) {
/* local and remote seem to have synchronized clocks */
@@ -2660,7 +2660,7 @@ pa_operation* pa_stream_set_buffer_attr(pa_stream *s, const pa_buffer_attr *attr
pa_pstream_send_tagstruct(s->context->pstream, t);
pa_pdispatch_register_reply(s->context->pdispatch, tag, DEFAULT_TIMEOUT, stream_set_buffer_attr_callback, pa_operation_ref(o), (pa_free_cb_t) pa_operation_unref);
- /* This might cause changes in the read/write indexex, hence let's
+ /* This might cause changes in the read/write index, hence let's
* request a timing update */
request_auto_timing_update(s, TRUE);