Shipwright/soh/soh/OTRAudio.h

10 lines
182 B
C++

#pragma once
static struct {
std::thread thread;
std::condition_variable cv_to_thread, cv_from_thread;
std::mutex mutex;
bool running;
bool processing;
} audio;