mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-08-17 21:53:17 -04:00
13 lines
231 B
C++
13 lines
231 B
C++
#pragma once
|
|
|
|
#include <thread>
|
|
#include <condition_variable>
|
|
|
|
static struct {
|
|
std::thread thread;
|
|
std::condition_variable cv_to_thread, cv_from_thread;
|
|
std::mutex mutex;
|
|
bool running;
|
|
bool processing;
|
|
} audio;
|