diff options
| author | drowe67 <[email protected]> | 2023-07-14 10:58:22 +0930 |
|---|---|---|
| committer | David Rowe <[email protected]> | 2023-07-14 10:58:22 +0930 |
| commit | 0c2e969cfbe85548801eeb20ad8113969604892a (patch) | |
| tree | 3d14c471174eec69ea14dbe8bf86c7411b8c42a1 /src | |
| parent | 6588e77f38bdebd7adffe091b22e7760d95d0ccb (diff) | |
manually fixed spelling errors from codec2 #406
Diffstat (limited to 'src')
| -rw-r--r-- | src/codec2_fifo.c | 2 | ||||
| -rw-r--r-- | src/freedv_700.c | 2 | ||||
| -rw-r--r-- | src/freedv_data_channel.c | 4 | ||||
| -rw-r--r-- | src/freedv_fsk.c | 2 | ||||
| -rw-r--r-- | src/fsk.c | 6 | ||||
| -rw-r--r-- | src/lpc.c | 2 | ||||
| -rw-r--r-- | src/mbest.c | 2 | ||||
| -rw-r--r-- | src/mpdecode_core.c | 2 |
8 files changed, 11 insertions, 11 deletions
diff --git a/src/codec2_fifo.c b/src/codec2_fifo.c index a2d3c30..5ac667e 100644 --- a/src/codec2_fifo.c +++ b/src/codec2_fifo.c @@ -6,7 +6,7 @@ A FIFO design useful in gluing the FDMDV modem and codec together in integrated applications. The unittest/tfifo indicates these - routines are thread safe without the need for syncronisation + routines are thread safe without the need for synchronisation object, e.g. a different thread can read and write to a fifo at the same time. diff --git a/src/freedv_700.c b/src/freedv_700.c index 235284e..4dffcf3 100644 --- a/src/freedv_700.c +++ b/src/freedv_700.c @@ -272,7 +272,7 @@ int freedv_comprx_700c(struct freedv *f, COMP demod_in_8kHz[]) { int rx_status = 0; // quisk_cfInterpDecim() modifies input data so lets make a copy just in case there - // is no sync and we need to echo inpout to output + // is no sync and we need to echo input to output // freedv_nin(f): input samples at Fs=8000 Hz // f->nin: input samples at Fs=7500 Hz diff --git a/src/freedv_data_channel.c b/src/freedv_data_channel.c index 7d361a1..dc1ad83 100644 --- a/src/freedv_data_channel.c +++ b/src/freedv_data_channel.c @@ -36,7 +36,7 @@ static unsigned char fdc_header_bcast[6] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; -/* CCIT CRC table (0x1201 polynomal) */ +/* CCIT CRC table (0x1201 polynomail) */ static unsigned short fdc_crc_table[256] = { 0x0000, 0x1189, 0x2312, 0x329b, 0x4624, 0x57ad, 0x6536, 0x74bf, 0x8c48, 0x9dc1, 0xaf5a, 0xbed3, 0xca6c, 0xdbe5, 0xe97e, 0xf8f7, @@ -84,7 +84,7 @@ static unsigned short fdc_crc(unsigned char *buffer, size_t len) return crc ^ 0xffff; } -/* CRC4 0x03 polynomal */ +/* CRC4 0x03 polynomial */ static unsigned char fdc_crc4(unsigned char *buffer, size_t len) { unsigned char crc = 0x0f; diff --git a/src/freedv_fsk.c b/src/freedv_fsk.c index 68d203d..31d30d3 100644 --- a/src/freedv_fsk.c +++ b/src/freedv_fsk.c @@ -543,7 +543,7 @@ int freedv_rx_fsk_ldpc_data(struct freedv *f, COMP demod_in[]) { } - /* extract packet sequnce numbers optionally placed in byte[0] */ + /* extract packet sequence numbers optionally placed in byte[0] */ seq = 0; for(int i=0; i<8; i++) seq |= f->rx_payload_bits[8+i] << (7-i); @@ -281,7 +281,7 @@ void fsk_mod(struct FSK *fsk,float fsk_out[], uint8_t tx_bits[], int nbits) { COMP dph; /* phase shift of current bit */ size_t i,j,m,bit_i,sym; - /* trap these parametrs being set to FSK_UNUSED, then calling mod */ + /* trap these parameters being set to FSK_UNUSED, then calling mod */ assert(f1_tx > 0); assert(tone_spacing > 0); @@ -341,7 +341,7 @@ void fsk_mod_c(struct FSK *fsk,COMP fsk_out[], uint8_t tx_bits[], int nbits) { size_t i,j,bit_i,sym; int m; - /* trap these parametrs being set to FSK_UNUSED, then calling mod */ + /* trap these parameters being set to FSK_UNUSED, then calling mod */ assert(f1_tx > 0); assert(tone_spacing > 0); @@ -397,7 +397,7 @@ void fsk_mod_ext_vco(struct FSK *fsk, float vco_out[], uint8_t tx_bits[], int nb int M = fsk->mode; int i, j, m, sym, bit_i; - /* trap these parametrs being set to FSK_UNUSED, then calling mod */ + /* trap these parameters being set to FSK_UNUSED, then calling mod */ assert(f1_tx > 0); assert(tone_spacing > 0); @@ -42,7 +42,7 @@ Pre-emphasise (high pass filter with zero close to 0 Hz) a frame of speech samples. Helps reduce dynamic range of LPC spectrum, giving - greater weight and hense a better match to low energy formants. + greater weight and hence a better match to low energy formants. Should be balanced by de-emphasis of the output speech. diff --git a/src/mbest.c b/src/mbest.c index 8651e70..aec4d29 100644 --- a/src/mbest.c +++ b/src/mbest.c @@ -131,7 +131,7 @@ void mbest_search( { int j; - /* note weighting can be applied externally by modifiying cb[] and vec: + /* note weighting can be applied externally by modifying cb[] and vec: float e = 0.0; for(i=0; i<k; i++) diff --git a/src/mpdecode_core.c b/src/mpdecode_core.c index 1392b2f..296d659 100644 --- a/src/mpdecode_core.c +++ b/src/mpdecode_core.c @@ -38,7 +38,7 @@ static COMP S_matrix[] = { // c_nodes will be an array of NumberParityBits of struct c_node // Each c_node contains an array of <degree> c_sub_node elements -// This structure reduces the indexing caluclations in SumProduct() +// This structure reduces the indexing calclations in SumProduct() struct c_sub_node { // Order is important here to keep total size small. uint16_t index; // Values from H_rows (except last 2 entries) |
