summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Meerwald <pmeerw@pmeerw.net>2012-01-08 13:16:51 +0100
committerTanu Kaskinen <tanuk@iki.fi>2012-01-28 17:51:59 +0200
commitb351e068179c25ab615916b792d9e23e0f21c6f7 (patch)
treef0589a7e85a061db479963bd856f5fc773dbf1a2
parentfab254c41929c237130c693677a2eb4363cf08bc (diff)
fix the ever-popular 'the the' typo
some are comments, some are user-visible doxygen text and documentation
-rw-r--r--man/pulse-daemon.conf.5.xml.in2
-rw-r--r--src/modules/macosx/module-coreaudio-device.c2
-rw-r--r--src/modules/module-equalizer-sink.c4
-rw-r--r--src/modules/module-null-sink.c2
-rw-r--r--src/pulse/context.h2
-rw-r--r--src/pulse/proplist.h2
-rw-r--r--src/pulsecore/play-memblockq.c2
-rw-r--r--src/tests/connect-stress.c2
-rw-r--r--src/tests/extended-test.c2
-rw-r--r--src/tests/sync-playback.c2
10 files changed, 11 insertions, 11 deletions
diff --git a/man/pulse-daemon.conf.5.xml.in b/man/pulse-daemon.conf.5.xml.in
index 2c42f8ce..4ce238b9 100644
--- a/man/pulse-daemon.conf.5.xml.in
+++ b/man/pulse-daemon.conf.5.xml.in
@@ -312,7 +312,7 @@ USA.
<option>
<p><opt>log-backtrace=</opt> When greater than 0, with each
- logged message log a code stack trace up the the specified
+ logged message log a code stack trace up the specified
number of stack frames. Defaults to <opt>0</opt>.</p>
</option>
diff --git a/src/modules/macosx/module-coreaudio-device.c b/src/modules/macosx/module-coreaudio-device.c
index d2762819..47fd1e69 100644
--- a/src/modules/macosx/module-coreaudio-device.c
+++ b/src/modules/macosx/module-coreaudio-device.c
@@ -208,7 +208,7 @@ static pa_usec_t get_latency_us(pa_object *o) {
AudioObjectGetPropertyData(u->object_id, &property_address, 0, NULL, &size, &total);
total += v;
- /* the the IOProc buffer size */
+ /* the IOProc buffer size */
property_address.mSelector = kAudioDevicePropertyBufferFrameSize;
size = sizeof(v);
AudioObjectGetPropertyData(u->object_id, &property_address, 0, NULL, &size, &v);
diff --git a/src/modules/module-equalizer-sink.c b/src/modules/module-equalizer-sink.c
index 006b3d1c..e07452cd 100644
--- a/src/modules/module-equalizer-sink.c
+++ b/src/modules/module-equalizer-sink.c
@@ -369,7 +369,7 @@ static void dsp_logic(
for(size_t j = 0; j < u->window_size; ++j){
dst[j] = X * W[j] * src[j];
}
- //zero pad the the remaining fft window
+ //zero pad the remaining fft window
memset(dst + u->window_size, 0, (u->fft_size - u->window_size) * sizeof(float));
//Processing is done here!
//do fft
@@ -441,7 +441,7 @@ static void dsp_logic(
// d->v = x->v * w->v * s->v;
//#endif
}
- //zero pad the the remaining fft window
+ //zero pad the remaining fft window
memset(dst + u->window_size, 0, (u->fft_size - u->window_size) * sizeof(float));
//Processing is done here!
diff --git a/src/modules/module-null-sink.c b/src/modules/module-null-sink.c
index 454bd3e4..f40546a8 100644
--- a/src/modules/module-null-sink.c
+++ b/src/modules/module-null-sink.c
@@ -176,7 +176,7 @@ static void process_render(struct userdata *u, pa_usec_t now) {
queued. Hence: at maximum read this many bytes from the sink
inputs. */
- /* Fill the buffer up the the latency size */
+ /* Fill the buffer up the latency size */
while (u->timestamp < now + u->block_usec) {
pa_memchunk chunk;
diff --git a/src/pulse/context.h b/src/pulse/context.h
index b2d4133e..6e615f6a 100644
--- a/src/pulse/context.h
+++ b/src/pulse/context.h
@@ -174,7 +174,7 @@ typedef void (*pa_context_event_cb_t)(pa_context *c, const char *name, pa_propli
pa_context *pa_context_new(pa_mainloop_api *mainloop, const char *name);
/** Instantiate a new connection context with an abstract mainloop API
- * and an application name, and specify the the initial client property
+ * and an application name, and specify the initial client property
* list. \since 0.9.11 */
pa_context *pa_context_new_with_proplist(pa_mainloop_api *mainloop, const char *name, pa_proplist *proplist);
diff --git a/src/pulse/proplist.h b/src/pulse/proplist.h
index 97694dfe..5802394a 100644
--- a/src/pulse/proplist.h
+++ b/src/pulse/proplist.h
@@ -311,7 +311,7 @@ int pa_proplist_set(pa_proplist *p, const char *key, const void *data, size_t nb
* the data before accessing the property list again. \since 0.9.11 */
const char *pa_proplist_gets(pa_proplist *p, const char *key);
-/** Return the the value for the specified key. Will return a
+/** Return the value for the specified key. Will return a
* NUL-terminated string for string entries. The pointer returned will
* point to an internally allocated buffer. The caller should make a
* copy of the data before the property list is accessed again. \since
diff --git a/src/pulsecore/play-memblockq.c b/src/pulsecore/play-memblockq.c
index b0932612..2ce92e50 100644
--- a/src/pulsecore/play-memblockq.c
+++ b/src/pulsecore/play-memblockq.c
@@ -133,7 +133,7 @@ static int sink_input_pop_cb(pa_sink_input *i, size_t nbytes, pa_memchunk *chunk
}
/* If there's no memblock, there's going to be data in the memblockq after
- * a gap with length chunk->length. Drop the the gap and peek the actual
+ * a gap with length chunk->length. Drop the gap and peek the actual
* data. There should always be some data coming - hence the assert. The
* gap will occur if the memblockq is rewound beyond index 0.*/
if (!chunk->memblock) {
diff --git a/src/tests/connect-stress.c b/src/tests/connect-stress.c
index eadcf885..c4c6efcd 100644
--- a/src/tests/connect-stress.c
+++ b/src/tests/connect-stress.c
@@ -107,7 +107,7 @@ static void disconnect(void) {
static const pa_buffer_attr buffer_attr = {
.maxlength = SAMPLE_HZ * sizeof(float) * NSTREAMS,
.tlength = (uint32_t) -1,
- .prebuf = 0, /* Setting prebuf to 0 guarantees us the the streams will run synchronously, no matter what */
+ .prebuf = 0, /* Setting prebuf to 0 guarantees us the streams will run synchronously, no matter what */
.minreq = (uint32_t) -1,
.fragsize = 0
};
diff --git a/src/tests/extended-test.c b/src/tests/extended-test.c
index 0647aeae..7a0656b4 100644
--- a/src/tests/extended-test.c
+++ b/src/tests/extended-test.c
@@ -47,7 +47,7 @@ static int n_streams_ready = 0;
static const pa_buffer_attr buffer_attr = {
.maxlength = SAMPLE_HZ*sizeof(float)*NSTREAMS, /* exactly space for the entire play time */
.tlength = (uint32_t) -1,
- .prebuf = 0, /* Setting prebuf to 0 guarantees us the the streams will run synchronously, no matter what */
+ .prebuf = 0, /* Setting prebuf to 0 guarantees us the streams will run synchronously, no matter what */
.minreq = (uint32_t) -1,
.fragsize = 0
};
diff --git a/src/tests/sync-playback.c b/src/tests/sync-playback.c
index 8eaa25fe..df1fa453 100644
--- a/src/tests/sync-playback.c
+++ b/src/tests/sync-playback.c
@@ -53,7 +53,7 @@ static const pa_sample_spec sample_spec = {
static const pa_buffer_attr buffer_attr = {
.maxlength = SAMPLE_HZ*sizeof(float)*NSTREAMS, /* exactly space for the entire play time */
.tlength = (uint32_t) -1,
- .prebuf = 0, /* Setting prebuf to 0 guarantees us the the streams will run synchronously, no matter what */
+ .prebuf = 0, /* Setting prebuf to 0 guarantees us the streams will run synchronously, no matter what */
.minreq = (uint32_t) -1,
.fragsize = 0
};