First PPM experiment

This commit is contained in:
2022-04-20 15:04:06 +03:00
commit d8002fe6fa
4 changed files with 127 additions and 0 deletions
+12
View File
@@ -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();
};