You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
666 B
30 lines
666 B
//
|
|
// Created by Nicholas Newdigate on 18/07/2020.
|
|
//
|
|
|
|
#ifndef TEENSY_RESAMPLING_SDREADER_PLAYARRAYRESMP_H
|
|
#define TEENSY_RESAMPLING_SDREADER_PLAYARRAYRESMP_H
|
|
|
|
|
|
#include "Arduino.h"
|
|
#include "AudioStream.h"
|
|
#include "ResamplingArrayReader.h"
|
|
#include "playresmp.h"
|
|
|
|
class AudioPlayArrayResmp : public AudioPlayResmp<newdigate::ResamplingArrayReader>
|
|
{
|
|
public:
|
|
AudioPlayArrayResmp(void) :
|
|
AudioPlayResmp<newdigate::ResamplingArrayReader>()
|
|
{
|
|
reader = new newdigate::ResamplingArrayReader();
|
|
begin();
|
|
}
|
|
|
|
virtual ~AudioPlayArrayResmp() {
|
|
delete reader;
|
|
}
|
|
};
|
|
|
|
|
|
#endif //TEENSY_RESAMPLING_SDREADER_PLAYARRAYRESMP_H
|
|
|