RTP Audio System
2.0.0
|
Defines | |
#define | KILL_AFTER_TIMEOUT |
#define | KILL_TIMEOUT 2000000 |
Functions | |
void | breakDetector (int signum) |
void | installBreakDetector () |
void | uninstallBreakDetector () |
bool | breakDetected () |
void | sendBreak (const bool quiet) |
Variables | |
static bool | DetectedBreak = false |
static bool | PrintedBreak = false |
static bool | Quiet = false |
static pid_t | MainThreadPID = getpid() |
static bool | PrintedKill = false |
static card64 | LastDetection = (card64)-1 |
#define KILL_AFTER_TIMEOUT |
#define KILL_TIMEOUT 2000000 |
bool breakDetected | ( | ) |
Check, if break has been detected.
void breakDetector | ( | int | signum | ) |
void installBreakDetector | ( | ) |
Install break handler.
void sendBreak | ( | const bool | quiet = false | ) |
Send break to main thread.
quiet | true to print no break message in breakDetected(), false otherwise (default). |
void uninstallBreakDetector | ( | ) |
Uninstall break handler.
bool DetectedBreak = false [static] |
card64 LastDetection = (card64)-1 [static] |
pid_t MainThreadPID = getpid() [static] |
bool PrintedBreak = false [static] |
bool PrintedKill = false [static] |
bool Quiet = false [static] |