fix the ever-popular 'the the' typo

some are comments, some are user-visible doxygen text and documentation
This commit is contained in:
Peter Meerwald 2012-01-08 13:16:51 +01:00 committed by Tanu Kaskinen
parent fab254c419
commit b351e06817
10 changed files with 11 additions and 11 deletions

View file

@ -312,7 +312,7 @@ USA.
<option> <option>
<p><opt>log-backtrace=</opt> When greater than 0, with each <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> number of stack frames. Defaults to <opt>0</opt>.</p>
</option> </option>

View file

@ -208,7 +208,7 @@ static pa_usec_t get_latency_us(pa_object *o) {
AudioObjectGetPropertyData(u->object_id, &property_address, 0, NULL, &size, &total); AudioObjectGetPropertyData(u->object_id, &property_address, 0, NULL, &size, &total);
total += v; total += v;
/* the the IOProc buffer size */ /* the IOProc buffer size */
property_address.mSelector = kAudioDevicePropertyBufferFrameSize; property_address.mSelector = kAudioDevicePropertyBufferFrameSize;
size = sizeof(v); size = sizeof(v);
AudioObjectGetPropertyData(u->object_id, &property_address, 0, NULL, &size, &v); AudioObjectGetPropertyData(u->object_id, &property_address, 0, NULL, &size, &v);

View file

@ -369,7 +369,7 @@ static void dsp_logic(
for(size_t j = 0; j < u->window_size; ++j){ for(size_t j = 0; j < u->window_size; ++j){
dst[j] = X * W[j] * src[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)); memset(dst + u->window_size, 0, (u->fft_size - u->window_size) * sizeof(float));
//Processing is done here! //Processing is done here!
//do fft //do fft
@ -441,7 +441,7 @@ static void dsp_logic(
// d->v = x->v * w->v * s->v; // d->v = x->v * w->v * s->v;
//#endif //#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)); memset(dst + u->window_size, 0, (u->fft_size - u->window_size) * sizeof(float));
//Processing is done here! //Processing is done here!

View file

@ -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 queued. Hence: at maximum read this many bytes from the sink
inputs. */ inputs. */
/* Fill the buffer up the the latency size */ /* Fill the buffer up the latency size */
while (u->timestamp < now + u->block_usec) { while (u->timestamp < now + u->block_usec) {
pa_memchunk chunk; pa_memchunk chunk;

View file

@ -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); pa_context *pa_context_new(pa_mainloop_api *mainloop, const char *name);
/** Instantiate a new connection context with an abstract mainloop API /** 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 */ * list. \since 0.9.11 */
pa_context *pa_context_new_with_proplist(pa_mainloop_api *mainloop, const char *name, pa_proplist *proplist); pa_context *pa_context_new_with_proplist(pa_mainloop_api *mainloop, const char *name, pa_proplist *proplist);

View file

@ -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 */ * the data before accessing the property list again. \since 0.9.11 */
const char *pa_proplist_gets(pa_proplist *p, const char *key); 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 * NUL-terminated string for string entries. The pointer returned will
* point to an internally allocated buffer. The caller should make a * point to an internally allocated buffer. The caller should make a
* copy of the data before the property list is accessed again. \since * copy of the data before the property list is accessed again. \since

View file

@ -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 /* 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 * data. There should always be some data coming - hence the assert. The
* gap will occur if the memblockq is rewound beyond index 0.*/ * gap will occur if the memblockq is rewound beyond index 0.*/
if (!chunk->memblock) { if (!chunk->memblock) {

View file

@ -107,7 +107,7 @@ static void disconnect(void) {
static const pa_buffer_attr buffer_attr = { static const pa_buffer_attr buffer_attr = {
.maxlength = SAMPLE_HZ * sizeof(float) * NSTREAMS, .maxlength = SAMPLE_HZ * sizeof(float) * NSTREAMS,
.tlength = (uint32_t) -1, .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, .minreq = (uint32_t) -1,
.fragsize = 0 .fragsize = 0
}; };

View file

@ -47,7 +47,7 @@ static int n_streams_ready = 0;
static const pa_buffer_attr buffer_attr = { static const pa_buffer_attr buffer_attr = {
.maxlength = SAMPLE_HZ*sizeof(float)*NSTREAMS, /* exactly space for the entire play time */ .maxlength = SAMPLE_HZ*sizeof(float)*NSTREAMS, /* exactly space for the entire play time */
.tlength = (uint32_t) -1, .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, .minreq = (uint32_t) -1,
.fragsize = 0 .fragsize = 0
}; };

View file

@ -53,7 +53,7 @@ static const pa_sample_spec sample_spec = {
static const pa_buffer_attr buffer_attr = { static const pa_buffer_attr buffer_attr = {
.maxlength = SAMPLE_HZ*sizeof(float)*NSTREAMS, /* exactly space for the entire play time */ .maxlength = SAMPLE_HZ*sizeof(float)*NSTREAMS, /* exactly space for the entire play time */
.tlength = (uint32_t) -1, .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, .minreq = (uint32_t) -1,
.fragsize = 0 .fragsize = 0
}; };