Displaying 2 results from an estimated 2 matches for "input_module_t".
2004 Aug 06
1
ices: Metadata for im_stdinpcm
...parse.h"
#include "stream.h"
-
+#include "metadata.h"
#include "inputmodule.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 e...
2004 Aug 06
0
ices2: ice-url header patch
...Index: src/stream.c
===================================================================
RCS file: /usr/local/cvsroot/ices/src/stream.c,v
retrieving revision 1.23
diff -u -r1.23 stream.c
--- src/stream.c 22 Nov 2002 13:01:34 -0000 1.23
+++ src/stream.c 26 Feb 2003 12:15:14 -0000
@@ -53,7 +53,8 @@
input_module_t *inmod = sdsc->input;
int reencoding = (inmod->type == ICES_INPUT_VORBIS) && stream->encode;
int encoding = (inmod->type == ICES_INPUT_PCM) && stream->encode;
- char *stream_name = NULL, *stream_genre = NULL, *stream_description = NULL;
+ char *stream_name =...