Mercurial > audlegacy-plugins
changeset 2291:1457b35713d9
remove obsolete function
author | mf0102 <0102@gmx.at> |
---|---|
date | Thu, 10 Jan 2008 18:39:52 +0100 |
parents | 0f8450380020 |
children | 61548eb4f676 |
files | src/madplug/input.c src/madplug/plugin.c src/madplug/plugin.h |
diffstat | 3 files changed, 3 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/src/madplug/input.c Thu Jan 10 18:33:59 2008 +0100 +++ b/src/madplug/input.c Thu Jan 10 18:39:52 2008 +0100 @@ -107,7 +107,7 @@ // obtain file size info->size = aud_vfs_fsize(info->infile); info->remote = info->size == 0 ? TRUE : FALSE; //proxy connection may result in non-zero size. - if(audmad_is_remote((gchar *)url)) + if(aud_vfs_is_remote((gchar *)url)) info->remote = TRUE; info->fileinfo_request = FALSE;
--- a/src/madplug/plugin.c Thu Jan 10 18:33:59 2008 +0100 +++ b/src/madplug/plugin.c Thu Jan 10 18:39:52 2008 +0100 @@ -289,12 +289,6 @@ ((unsigned long) hbuf[2] << 8) | (unsigned long) hbuf[3]; } -gboolean audmad_is_remote(gchar *url) -{ - gboolean rv = aud_vfs_is_remote(url); - return rv; -} - // audacious vfs fast version static int audmad_is_our_fd(char *filename, VFSFile *fin) { @@ -305,10 +299,7 @@ guchar tmp[4096]; gint ret, i, frameSize; - info.remote = FALSE; - - if(audmad_is_remote(filename)) - info.remote = TRUE; + info.remote = aud_vfs_is_remote(filename); /* I've seen some flac files beginning with id3 frames.. so let's exclude known non-mp3 filename extensions */ @@ -445,7 +436,7 @@ } // remote access must use fast scan. - rtn = input_get_info(&info, audmad_is_remote(url) ? TRUE : audmad_config.fast_play_time_calc); + rtn = input_get_info(&info, aud_vfs_is_remote(url) ? TRUE : audmad_config.fast_play_time_calc); if (rtn == FALSE) { g_message("error reading input info");
--- a/src/madplug/plugin.h Thu Jan 10 18:33:59 2008 +0100 +++ b/src/madplug/plugin.h Thu Jan 10 18:39:52 2008 +0100 @@ -137,7 +137,6 @@ // prototypes void audmad_config_compute(struct audmad_config_t *config); -gboolean audmad_is_remote(gchar *url); void input_process_remote_metadata(struct mad_info_t *info); gpointer decode_loop(gpointer arg); void audmad_error(gchar * fmt, ...);