search for: metadatalock

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

Did you mean: metadata_block
2004 Aug 06
1
ices: Metadata for im_stdinpcm
...@@ -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) { case EVENT_SHUTDOWN: @@ -50,6 +67,20 @@ case EVENT_NEXTTRACK:...