chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge config aliasing bug fix.
[disorder]
/
lib
/
alsabg.c
diff --git
a/lib/alsabg.c
b/lib/alsabg.c
index 27c5c6e8a01e5ad29555103d77f4ce7c8b64537d..56e5c6aa2711909e779bbe130001747ea033774c 100644
(file)
--- a/
lib/alsabg.c
+++ b/
lib/alsabg.c
@@
-17,6
+17,12
@@
*/
/** @file alsabg.c
* @brief Background-thread interface to ALSA
*/
/** @file alsabg.c
* @brief Background-thread interface to ALSA
+ *
+ * This wraps ALSA with an interface which calls back to the client from a
+ * thread. It's not intended for completely general use, just what DisOrder
+ * needs.
+ *
+ * Only builds on Linux systems.
*/
#include "common.h"
*/
#include "common.h"
@@
-273,6
+279,10
@@
void alsa_bg_init(const char *device,
ep(pthread_create(&alsa_bg_play_tid, 0, alsa_bg_play, 0));
}
ep(pthread_create(&alsa_bg_play_tid, 0, alsa_bg_play, 0));
}
+/** @brief Deinitialize background ALSA playback
+ *
+ * The opposite of alsa_bg_init().
+ */
void alsa_bg_close(void) {
void *r;
void alsa_bg_close(void) {
void *r;