search for: stdinpcm_stat

Displaying 1 result from an estimated 1 matches for "stdinpcm_stat".

Did you mean: stdinpcm_state
2004 Aug 06
1
ices: Metadata for im_stdinpcm
...putmodule.h" #include "input.h" #include "im_stdinpcm.h" @@ -35,8 +35,25 @@ #define BUFSIZE 32768 +/* Currently not used, but for future use */ +static void close_module(input_module_t *mod) +{ + if(mod) + { + if(mod->internal) + { + stdinpcm_state *s = mod->internal; + thread_mutex_destroy(&s->metadatalock); + free(s); + } + free(mod); + } +} + static int event_handler(input_module_t *mod, enum event_type ev, void *param) { + stdinpcm_state *s = mod->internal; + switch(ev) {...