Call the unfixable error handler if the output device can't be opened or disappears. Clang-format.

This commit is contained in:
Mike Brady
2022-12-30 18:46:53 +00:00
8 changed files with 59 additions and 38 deletions
+1 -2
View File
@@ -39,11 +39,10 @@
static int fd = -1;
static int warned = 0;
static void start(__attribute__((unused)) int sample_rate,
__attribute__((unused)) int sample_format) {
fd = STDOUT_FILENO;
warned = 0;
warned = 0;
}
static int play(void *buf, int samples, __attribute__((unused)) int sample_type,