2022-05-12 13:28:24 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
static struct {
|
2022-08-02 20:30:39 -04:00
|
|
|
std::thread thread;
|
2022-05-12 13:28:24 -04:00
|
|
|
std::condition_variable cv_to_thread, cv_from_thread;
|
|
|
|
std::mutex mutex;
|
2022-08-02 20:30:39 -04:00
|
|
|
bool running;
|
2022-05-12 13:28:24 -04:00
|
|
|
bool processing;
|
|
|
|
} audio;
|