Skip to content

Commit c91d75e

Browse files
committed
Correct misspelled signal to signal
1 parent f55d697 commit c91d75e

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/AudioTools/AudioCodecs/CodecOpus.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ struct OpusEncoderSettings : public OpusSettings {
9090
/// OPUS_BANDWIDTH_FULLBAND
9191
int max_bandwidth = -1;
9292
/// OPUS_AUTO, OPUS_SIGNAL_VOICE, OPUS_SIGNAL_MUSIC
93-
int singal = -1;
93+
int signal = -1;
9494
/// 0, 1
9595
int inband_fec = -1;
9696
/// 0, 1, 2, 5
@@ -417,9 +417,9 @@ class OpusAudioEncoder : public AudioEncoder {
417417
LOGE("invalid max_bandwidth: %d", cfg.max_bandwidth);
418418
ok = false;
419419
}
420-
if (cfg.singal >= 0 &&
421-
opus_encoder_ctl(enc, OPUS_SET_SIGNAL(cfg.singal)) != OPUS_OK) {
422-
LOGE("invalid singal: %d", cfg.singal);
420+
if (cfg.signal >= 0 &&
421+
opus_encoder_ctl(enc, OPUS_SET_SIGNAL(cfg.signal)) != OPUS_OK) {
422+
LOGE("invalid signal: %d", cfg.signal);
423423
ok = false;
424424
}
425425
if (cfg.inband_fec >= 0 &&

src/AudioTools/AudioLibs/AudioFaust.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class FaustStream : public AudioStream {
2020
with_output_buffer = useSeparateOutputBuffer;
2121
}
2222

23-
/// Constructor for Faust as Singal Processor - changing an input signal and sending it to out
23+
/// Constructor for Faust as signal Processor - changing an input signal and sending it to out
2424
FaustStream(Print &out, bool useSeparateOutputBuffer=true){
2525
p_out = &out;
2626
with_output_buffer = useSeparateOutputBuffer;

src/AudioTools/AudioLibs/I2SCodecStream.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ class I2SCodecStream : public AudioStream, public VolumeSupport {
303303
codec_cfg.i2s.bits = toCodecBits(info.bits_per_sample);
304304
codec_cfg.i2s.rate = toRate(info.sample_rate);
305305
codec_cfg.i2s.fmt = toFormat(info.i2s_format);
306-
codec_cfg.i2s.singal_type = (singal_t) info.signal_type;
306+
codec_cfg.i2s.signal_type = (signal_t) info.signal_type;
307307
// use reverse logic for codec setting
308308
codec_cfg.i2s.mode = info.is_master ? MODE_SLAVE : MODE_MASTER;
309309
if (p_board == nullptr) return false;

src/AudioTools/CoreAudio/AudioI2S/I2SESP32V1.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ class I2SDriverESP32V1 {
594594
default:
595595
break;
596596
}
597-
LOGE("Unsupported singal_type");
597+
LOGE("Unsupported signal_type");
598598
return i2s;
599599
}
600600
};

0 commit comments

Comments
 (0)