Mercurial > audlegacy-plugins
view src/alac/decomp.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 | 56c88eee9802 |
children |
line wrap: on
line source
#ifndef __ALAC__DECOMP_H #define __ALAC__DECOMP_H typedef struct alac_file alac_file; alac_file *create_alac(int samplesize, int numchannels); void decode_frame(alac_file *alac, unsigned char *inbuffer, void *outbuffer, int *outputsize); void alac_set_info(alac_file *alac, char *inputbuffer); #endif /* __ALAC__DECOMP_H */