## Link to GitHub Issue or related Pull Request, if one exists Fixes #852 ## Description of change Add SDVX valk cab tape LED output over API ## Testing tested with custom python script over api
14 lines
221 B
C++
14 lines
221 B
C++
#pragma once
|
|
|
|
#include <atomic>
|
|
#include <cstdint>
|
|
|
|
namespace api {
|
|
|
|
extern std::atomic_uint32_t CLIENT_COUNT;
|
|
|
|
inline bool has_clients() {
|
|
return CLIENT_COUNT.load(std::memory_order_relaxed) > 0;
|
|
}
|
|
}
|