Mercurial > audlegacy-plugins
view src/scrobbler/scrobbler.h @ 3166:8cbf077ba5d0
alsa-ng: Software pause, so we don't have to use snd_pcm_pause(), which is not part of the safe ALSA subset.
Also, make heavy use of thread signalling to remove crap like:
while (condition != true && pcm_going)
g_usleep(10000);
That's... so XMMS.
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Fri, 15 May 2009 00:02:47 -0500 |
parents | 5a11abf0075c |
children |
line wrap: on
line source
#ifndef NET_H #define NET_H 1 #include <audlegacy/tuple.h> #define SC_CURL_TIMEOUT 5 gboolean sc_timeout(gpointer data); int sc_idle(GMutex *); void sc_init(char *, char *, char *); void sc_addentry(GMutex *, Tuple *, int); void sc_cleaner(void); int sc_catch_error(void); char *sc_fetch_error(void); void sc_clear_error(void); #endif