[pulseaudio-discuss] [PATCH] fix the ever-popular 'the the' typo
Peter Meerwald
pmeerw at pmeerw.net
Sun Jan 8 04:16:51 PST 2012
some are comments, some are user-visible doxygen text and documentation
---
man/pulse-daemon.conf.5.xml.in | 2 +-
src/modules/macosx/module-coreaudio-device.c | 2 +-
src/modules/module-equalizer-sink.c | 4 ++--
src/modules/module-null-sink.c | 2 +-
src/pulse/context.h | 2 +-
src/pulse/proplist.h | 2 +-
src/pulsecore/play-memblockq.c | 2 +-
src/tests/connect-stress.c | 2 +-
src/tests/extended-test.c | 2 +-
src/tests/sync-playback.c | 2 +-
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 2c42f8c..4ce238b 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 d276281..47fd1e6 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 006b3d1..e07452c 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 454bd3e..f40546a 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 b2d4133..6e615f6 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 97694df..5802394 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 b093261..2ce92e5 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 eadcf88..c4c6efc 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 0647aea..7a0656b 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 8eaa25f..df1fa45 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
};
--
1.7.8.2
More information about the pulseaudio-discuss
mailing list