Newer
Older
music / app / src / main / cpp / AudioHost.h
#ifndef MUSIC_AUDIO_HOST_H
#define MUSIC_AUDIO_HOST_H

class AudioHost;

#include "SineWave.h"
#include "Instrument.h"
#include <aaudio/AAudio.h>
#include <list>

class AudioHost {
private:
    AAudioStream *stream;
public:
    uint32_t sampleRate = 0;
    std::list<Instrument*> *instruments = new std::list<Instrument*>();
    AudioHost();
};


#endif //MUSIC_AUDIO_HOST_H