Displaying 2 results from an estimated 2 matches for "metadata_count".
2007 Mar 15
2
Logging album info for ogg-vorbis
Hi, i just joined the list. I was wondering if anyone would be interested
in a change to icecast that logs album info as well as ARTST and TRACK. I
have made the changes to the source code and it's working fine. If there
is any interest, I could look into making it an addition to the code.
Let me know.
thanks,
--
Aaron
-------------- next part --------------
An HTML attachment was
2007 Mar 26
0
Logging album info for ogg-vorbis
...void format_ogg_free_plugin (format_plugin_t *plugin)
{
ogg_state_t *state = plugin->_state;
+ int i;
/* free memory associated with this plugin instance */
free_ogg_codecs (state);
free (state->artist);
free (state->title);
+ for(i=0; i < state->metadata_count; ++i)
+ free(state->metadata[i]);
+ free(state->metadata);
+
ogg_sync_clear (&state->oy);
free (state);
@@ -268,6 +273,7 @@
unsigned int len = 1; /* space for the nul byte at least */
ogg_codec_t *codec;
char codec_names [100] = "";
+ int...