Przeglądaj źródła

Rename AudioPlaySDcardRAW to AudioPlaySdRaw

dds
PaulStoffregen 10 lat temu
rodzic
commit
8e66b244fc
2 zmienionych plików z 6 dodań i 6 usunięć
  1. +4
    -4
      play_sd_raw.cpp
  2. +2
    -2
      play_sd_raw.h

+ 4
- 4
play_sd_raw.cpp Wyświetl plik

@@ -27,7 +27,7 @@
#include "play_sd_raw.h"


void AudioPlaySDcardRAW::begin(void)
void AudioPlaySdRaw::begin(void)
{
playing = false;
if (block) {
@@ -37,7 +37,7 @@ void AudioPlaySDcardRAW::begin(void)
}


bool AudioPlaySDcardRAW::play(const char *filename)
bool AudioPlaySdRaw::play(const char *filename)
{
stop();
rawfile = SD.open(filename);
@@ -50,7 +50,7 @@ bool AudioPlaySDcardRAW::play(const char *filename)
return true;
}

void AudioPlaySDcardRAW::stop(void)
void AudioPlaySdRaw::stop(void)
{
__disable_irq();
if (playing) {
@@ -63,7 +63,7 @@ void AudioPlaySDcardRAW::stop(void)
}


void AudioPlaySDcardRAW::update(void)
void AudioPlaySdRaw::update(void)
{
unsigned int i, n;


+ 2
- 2
play_sd_raw.h Wyświetl plik

@@ -30,10 +30,10 @@
#include "AudioStream.h"
#include "SD.h"

class AudioPlaySDcardRAW : public AudioStream
class AudioPlaySdRaw : public AudioStream
{
public:
AudioPlaySDcardRAW(void) : AudioStream(0, NULL) { begin(); }
AudioPlaySdRaw(void) : AudioStream(0, NULL) { begin(); }
void begin(void);
bool play(const char *filename);
void stop(void);

Ładowanie…
Anuluj
Zapisz