view Plugins/Input/mpg123/common.h @ 835:806bd76cf64c trunk

[svn] Only start the decoder for FLAC detection on HTTP. We can handle files much easier, with a metadata check. Faster, less resource intensive, and does not spuriously trigger for wave files.
author chainsaw
date Tue, 14 Mar 2006 15:35:10 -0800
parents e2775c9b8b13
children 0f294f2b0a9b
line wrap: on
line source

/*
 * common.h
 */

extern void print_id3_tag(unsigned char *buf);
extern unsigned long firsthead;
extern double compute_tpf(struct frame *fr);
extern double compute_bpf(struct frame *fr);
extern long compute_buffer_offset(struct frame *fr);

/*
struct bitstream_info {
  int bitindex;
  unsigned char *wordpointer;
};
*/

extern void parse_url(const gchar * url, gchar ** user, gchar ** pass,
          gchar ** host, gint * port, gchar ** filename);