First PPM experiment
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#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();
|
||||
};
|
||||
Reference in New Issue
Block a user