Browse Source

Rename AudioPrint to AudioAnalyzePrint

dds
PaulStoffregen 10 years ago
parent
commit
3d66692947
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      analyze_print.cpp
  2. +2
    -2
      analyze_print.h

+ 2
- 2
analyze_print.cpp View File

@@ -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) {

+ 2
- 2
analyze_print.h View File

@@ -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;

Loading…
Cancel
Save