Mercurial > audlegacy
diff audacious/input.h @ 355:1c701dfe5098 trunk
[svn] Cache the decoder used for each PlaylistEntry. This reduces the amount
of times we probe a resource to a strict limit of two times. (Once to
detect the type, and the second time to get the stream information.)
Something this simple should have been done to begin with...
author | nenolod |
---|---|
date | Thu, 29 Dec 2005 22:10:26 -0800 |
parents | 32c320bba8a6 |
children | ed26947bbf57 |
line wrap: on
line diff
--- a/audacious/input.h Thu Dec 29 02:29:29 2005 -0800 +++ b/audacious/input.h Thu Dec 29 22:10:26 2005 -0800 @@ -39,7 +39,7 @@ void set_current_input_plugin(InputPlugin * ip); InputVisType input_get_vis_type(); void free_vis_data(void); -gboolean input_check_file(const gchar * filename, gboolean show_warning); +InputPlugin *input_check_file(const gchar * filename, gboolean show_warning); void input_play(gchar * filename); void input_stop(void); void input_pause(void);