Pārlūkot izejas kodu

Rename AudioPrint to AudioAnalyzePrint

dds
PaulStoffregen pirms 10 gadiem
vecāks
revīzija
3d66692947
2 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. +2
    -2
      analyze_print.cpp
  2. +2
    -2
      analyze_print.h

+ 2
- 2
analyze_print.cpp Parādīt failu

@@ -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 Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt