view src/flacng/plugin.h @ 3085:ac0af6b39272

Introduce new GIO plugin to buildsystem. stdio is now deprecated. Thoughts: - getc()/ungetc() should be moved to VFS core now
author William Pitcock <nenolod@atheme.org>
date Wed, 29 Apr 2009 20:58: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