File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
sandbox/examples-sdr/generator-am_sender-audiokit Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ uint8_t channels = 1; // The stream will ha
26
26
27
27
SineFromTable<int16_t > sineWave (32000 ); // subclass of SoundGenerator with maaudio_data amplitude of 32000
28
28
GeneratedSoundStream<int16_t > sound (sineWave); // Stream generated from sine wave
29
- ResampleStream< int16_t > resample (sound);
29
+ ResampleStream resample (sound);
30
30
AnalogAudioStream out;
31
31
AudioInfo info;
32
32
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ uint16_t sample_rate=44100;
4
4
uint8_t channels = 2 ; // The stream will have 2 channels
5
5
SineWaveGenerator<int16_t > sineWave (32000 ); // subclass of SoundGenerator with max amplitude of 32000
6
6
GeneratedSoundStream<int16_t > sound (sineWave); // Stream generated from sine wave
7
- ResampleStream< int16_t > resample (sound);
7
+ ResampleStream resample (sound);
8
8
CsvStream<int16_t > out (Serial);
9
9
StreamCopy copier (out, resample); // copies sound to out
10
10
AudioInfo info;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ uint8_t channels = 2; // The stream will ha
6
6
SineWaveGenerator<int16_t > sineWave (32000 ); // subclass of SoundGenerator with max amplitude of 32000
7
7
GeneratedSoundStream<int16_t > sound (sineWave); // Stream generated from sine wave
8
8
CsvStream<int16_t > out (Serial);
9
- ResampleStream< int16_t > resample (out);
9
+ ResampleStream resample (out);
10
10
StreamCopy copier (resample, sound); // copies sound to out
11
11
AudioInfo info;
12
12
You can’t perform that action at this time.
0 commit comments