Sfoglia il codice sorgente

Rename AudioPlaySDcardRAW to AudioPlaySdRaw

dds
PaulStoffregen 10 anni fa
parent
commit
8e66b244fc
2 ha cambiato i file con 6 aggiunte e 6 eliminazioni
  1. +4
    -4
      play_sd_raw.cpp
  2. +2
    -2
      play_sd_raw.h

+ 4
- 4
play_sd_raw.cpp Vedi File

@@ -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 Vedi File

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

Loading…
Annulla
Salva