view src/flacng/plugin.h @ 3138:8e26022bb814

aac: handle premature EOF on shoutcast streams more gracefully. in combination with the neon work, we no longer have a problem. (closes #57)
author William Pitcock <nenolod@atheme.org>
date Thu, 07 May 2009 11:14:36 -0500
parents 6c272f46fa99
children
line wrap: on
line source

#ifndef _PLUGIN_H
#define _PLUGIN_H

void flac_init(void);
void flac_cleanup(void);
void flac_aboutbox(void);
gboolean flac_is_our_file(gchar* filename);
gboolean flac_is_our_fd(gchar* filename, VFSFile* fd);
void flac_play_file (InputPlayback* input);
void flac_stop(InputPlayback* input);
void flac_pause(InputPlayback* input, gshort p);
void flac_mseek(InputPlayback* input, gulong millisecond);
void flac_seek(InputPlayback* input, gint time);
void flac_get_song_info(gchar* filename, gchar** title, gint* length);
Tuple *flac_get_song_tuple(gchar* filename);

#endif