Mercurial > audlegacy-plugins
view src/flacng/plugin.h @ 3162:e387614b9be9
alsa-ng: Import rewritten ALSA plugin. This is still woefully incomplete, but supports basic playback.
This driver uses the "safe" ALSA API subset, including use of blocking I/O.
Right now, it is hardcoded to use "default".
Do not complain about bugs in this plugin.
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Thu, 14 May 2009 21:05:11 -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