Displaying 2 results from an estimated 2 matches for "decoder_func_table_".
2004 Sep 10
0
http streaming in the xmms plugin
...s, indexed by decoder_t */
+ static const decoder_funcs_t* DECODER_FUNCS[NUM_DECODER_TYPES];
+
#define BITRATE_HIST_SEGMENT_MSEC 500
/* 500ms * 50 = 25s should be enough */
#define BITRATE_HIST_SIZE 50
static unsigned bitrate_history_[BITRATE_HIST_SIZE];
+ static decoder_funcs_t const * decoder_func_table_;
InputPlugin *get_iplugin_info()
{
***************
*** 136,141 ****
--- 176,206 ----
return &flac_ip;
}
+ void set_track_info(const char* title, int length_in_msec)
+ {
+ if (file_info_.is_playing) {
+ flac_ip.set_info((char*) title, length_in_msec, file_info_.sample_rate * fi...
2005 May 25
0
[PATCH] Fix fuction prototypes/definitions with void argument
...us status, void *client_data);
-static void init_decoder_func_tables();
+static void init_decoder_func_tables(void);
static decoder_t source_to_decoder_type (const char *source);
InputPlugin flac_ip =
@@ -181,7 +181,7 @@ static const decoder_funcs_t* DECODER_FU
static decoder_funcs_t const * decoder_func_table_;
-InputPlugin *get_iplugin_info()
+InputPlugin *get_iplugin_info(void)
{
flac_ip.description = g_strdup_printf("Reference FLAC Player v%s", FLAC__VERSION_STRING);
return &flac_ip;
@@ -194,7 +194,7 @@ void set_track_info(const char* title, i
}
}
-static gchar* homedir()
+...