diff src/madplug/plugin.h @ 768:1d3f70ac6b31 trunk

[svn] - remote metadata handling is moved into input_process_remote_metadata(). this function converts string into utf-8 if necessary (mainly for zina). - revise seekable determination logic. duration may be negative value (zina..). - if remote url is passed, scan_file() will use fast scan method irrespective of preference value. - scattered http:// matching codes are aggregate into audmad_is_remote(). - some cleanups.
author yaz
date Fri, 02 Mar 2007 00:14:11 -0800
parents b938fe96b20e
children 22c82f3c0411
line wrap: on
line diff
--- a/src/madplug/plugin.h	Thu Mar 01 20:09:48 2007 -0800
+++ b/src/madplug/plugin.h	Fri Mar 02 00:14:11 2007 -0800
@@ -70,8 +70,7 @@
     gint fmt;       /**< sample format */
     gint size;      /**< file size in bytes or -1 */
     gchar *title;   /**< title for xmms */
-    mad_timer_t duration;
-            /**< total play time */
+    mad_timer_t duration;   /**< total play time */
     struct id3_tag *tag;
     struct id3_file *id3file;
     struct xing xing;
@@ -131,6 +130,7 @@
 
 void audmad_config_compute(struct audmad_config_t *config);
 // compute scale values from "_db" strings
+gboolean audmad_is_remote(gchar *url);
 
 extern gpointer decode_loop(gpointer arg);
 extern void audmad_error(gchar * fmt, ...);