13 lines
248 B
C++
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();
|
|
};
|