@@ -30,12 +30,12 @@ | |||
// actually useful for watching interesting parts of data, without spewing | |||
// tremendous and endless data to the Arduino Serial Monitor | |||
void AudioPrint::update(void) | |||
void AudioAnalyzePrint::update(void) | |||
{ | |||
audio_block_t *block; | |||
uint32_t i; | |||
Serial.println("AudioPrint::update"); | |||
Serial.println("AudioAnalyzePrint::update"); | |||
Serial.println(name); | |||
block = receiveReadOnly(); | |||
if (block) { |
@@ -29,10 +29,10 @@ | |||
#include "AudioStream.h" | |||
class AudioPrint : public AudioStream | |||
class AudioAnalyzePrint : public AudioStream | |||
{ | |||
public: | |||
AudioPrint(const char *str) : AudioStream(1, inputQueueArray), name(str) {} | |||
AudioAnalyzePrint(const char *str) : AudioStream(1, inputQueueArray), name(str) {} | |||
virtual void update(void); | |||
private: | |||
const char *name; |