diff --git a/examples/examples-stream/streams-generator-analog/streams-generator-analog.ino b/examples/examples-stream/streams-generator-analog/streams-generator-analog.ino index 740a6a48c6..9d37034b7c 100644 --- a/examples/examples-stream/streams-generator-analog/streams-generator-analog.ino +++ b/examples/examples-stream/streams-generator-analog/streams-generator-analog.ino @@ -8,10 +8,9 @@ #include "AudioTools.h" -typedef int16_t sound_t; // sound will be represented as int16_t (with 2 bytes) AudioInfo info(8000, 1, 16); -SineWaveGenerator sineWave(32000); // subclass of SoundGenerator with max amplitude of 32000 -GeneratedSoundStream sound(sineWave); // Stream generated from sine wave +SineWaveGenerator sineWave(32000); // subclass of SoundGenerator with max amplitude of 32000 +GeneratedSoundStream sound(sineWave); // Stream generated from sine wave AnalogAudioStream out; StreamCopy copier(out, sound); // copies sound into i2s diff --git a/examples/examples-stream/streams-generator-spdif/streams-generator-spdif.ino b/examples/examples-stream/streams-generator-spdif/streams-generator-spdif.ino index d0cf3b5d3e..e5c5057de6 100644 --- a/examples/examples-stream/streams-generator-spdif/streams-generator-spdif.ino +++ b/examples/examples-stream/streams-generator-spdif/streams-generator-spdif.ino @@ -9,10 +9,9 @@ #include "AudioTools.h" -typedef int16_t sound_t; // sound will be represented as int16_t (with 2 bytes) AudioInfo info(44100, 2, 16); -SineWaveGenerator sineWave(32000); // subclass of SoundGenerator with max amplitude of 32000 -GeneratedSoundStream sound(sineWave); // Stream generated from sine wave +SineWaveGenerator sineWave(32000); // subclass of SoundGenerator with max amplitude of 32000 +GeneratedSoundStream sound(sineWave); // Stream generated from sine wave SPDIFOutput out; StreamCopy copier(out, sound, 2048); // copies sound into i2s diff --git a/src/AudioTools/AudioOutput.h b/src/AudioTools/AudioOutput.h index 2377ee00fb..6154718633 100644 --- a/src/AudioTools/AudioOutput.h +++ b/src/AudioTools/AudioOutput.h @@ -707,7 +707,7 @@ using MemoryPrint = MemoryOutput; /** * @brief Simple functionality to extract mono streams from a multichannel (e.g. - * stereo) signal. + * stereo) signal. * @ingroup transform * @author Phil Schatzmann * @copyright GPLv3