Add machine workshop, typed logic, mechanics and sensor-driven ECUs

This commit is contained in:
max
2026-11-02 07:27:13 +01:00
parent eb2b6366c2
commit abfcce0f46
99 changed files with 28835 additions and 145 deletions

View File

@@ -19,6 +19,8 @@ public:
bool write(float left, float right, std::stop_token stop = {});
bool wait_for_space(std::size_t target_fill, std::stop_token stop);
void reset_consumer();
// Only while both producer and audio consumer are stopped.
void discard();
std::size_t read_interpolated(std::span<float> left, std::span<float> right, double speed);
private: