Fixed many typos in output and source code comments

This commit is contained in:
Martin Hauke
2019-07-15 21:14:52 +02:00
committed by Andreas Eversberg
parent c357ab5ad5
commit 75765d49b7
30 changed files with 49 additions and 49 deletions

View File

@@ -967,7 +967,7 @@ int sdr_get_tosend(void *inst, int latspl)
count /= sdr->oversample;
if (sdr->threads) {
/* substract what we have in write buffer, because this is not jent sent to the SDR */
/* subtract what we have in write buffer, because this is not jent sent to the SDR */
int fill;
fill = (sdr->thread_write.in - sdr->thread_write.out + sdr->thread_write.buffer_size) % sdr->thread_write.buffer_size;

View File

@@ -62,7 +62,7 @@ void sdr_config_print_help(void)
printf(" --sdr-device-args <args>\n");
printf(" --sdr-stream-args <args>\n");
printf(" --sdr-tune-args <args>\n");
printf(" Optional SDR device arguments, seperated by comma\n");
printf(" Optional SDR device arguments, separated by comma\n");
printf(" e.g. --sdr-device-args <key>=<value>[,<key>=<value>[,...]]\n");
printf(" --sdr-samplerate <samplerate>\n");
printf(" Sample rate to use with SDR. By default it equals the regular sample\n");

View File

@@ -501,7 +501,7 @@ int soapy_get_tosend(int latspl)
tosend = latspl - (tx_count - rx_count);
/* in case of underrun: */
if (tosend > latspl) {
// It is normal that we have underruns, prior inital filling of buffer.
// It is normal that we have underruns, prior initial filling of buffer.
// FIXME: better solution to detect underrun
// PDEBUG(DSOAPY, DEBUG_ERROR, "SDR TX underrun!\n");
tosend = 0;