X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/e7eb3a2744aa45179daea235800753d3d1955338..ba70caca3f9debf14c9f551ff4dcaddd1eb07d3d:/lib/alsabg.c diff --git a/lib/alsabg.c b/lib/alsabg.c index 27c5c6e..56e5c6a 100644 --- a/lib/alsabg.c +++ b/lib/alsabg.c @@ -17,6 +17,12 @@ */ /** @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" @@ -273,6 +279,10 @@ void alsa_bg_init(const char *device, 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;