Newer
Older
music / app / src / main / cpp / AudioHost.h
@lukas lukas on 25 Aug 2022 360 bytes add low pass filter effect
#ifndef MUSIC_AUDIO_HOST_H
#define MUSIC_AUDIO_HOST_H

class AudioHost;

class Instrument;

#include <aaudio/AAudio.h>
#include <list>

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


#endif