Displaying 2 results from an estimated 2 matches for "module_param_t".
Did you mean:
module_param
2004 Aug 06
1
ices: Metadata for im_stdinpcm
...*md++);
+ }
+
+ thread_mutex_unlock(&s->metadatalock);
+}
+
/* Core streaming function for this module
* This is what actually produces the data which gets streamed.
*
@@ -101,17 +150,21 @@
input_module_t *mod = calloc(1, sizeof(input_module_t));
stdinpcm_state *s;
module_param_t *current;
+ int use_metadata = 1; /* Default to on */
mod->type = ICES_INPUT_PCM;
mod->getdata = stdin_read;
mod->handle_event = event_handler;
- mod->metadata_update = NULL;
+ mod->metadata_update = metadata_update;
mod->internal = malloc(sizeof(s...
2004 Aug 06
2
Params and handling
From reading through the code, I can understand that the parameters are
read from the XML config file and stored in the void pointer "data", but
if I am writing a new playlist module that needs additional parameters,
how would I go about handling adding this to the code? I have a MySQL
playlist module written, but I cannot seem to integrate the parameters
such that the admin would