Files
1bit-sound/sound_server.h
T
2022-04-20 15:04:06 +03:00

13 lines
248 B
C++

#pragma once
#include <cstdint>
struct sound_producer_1bit {
// false = off, true = on
virtual bool tick() = 0;
};
struct sound_server_1bit {
sound_server_1bit(uint16_t samplerate, sound_producer_1bit& producer);
~sound_server_1bit();
};