Mercurial > audlegacy
diff libaudcore/playback.h @ 283:72dcd30156ca trunk
[svn] Very initial start on libaudcore.
author | nenolod |
---|---|
date | Wed, 14 Dec 2005 08:20:45 -0800 |
parents | |
children | 99928e1275a1 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libaudcore/playback.h Wed Dec 14 08:20:45 2005 -0800 @@ -0,0 +1,36 @@ +/* BMP - Cross-platform multimedia player + * Copyright (C) 2003-2004 BMP development team. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#ifndef PLAYBACK_H +#define PLAYBACK_H + +#include <glib.h> + +void bmp_playback_set_random_skin(void); +gint bmp_playback_get_time(void); +void bmp_playback_initiate(void); +void bmp_playback_pause(void); +void bmp_playback_stop(void); +void bmp_playback_stop_reentrant(void); +gboolean bmp_playback_play_file(const gchar * filename); +gboolean bmp_playback_get_playing(void); +gboolean bmp_playback_get_paused(void); +void bmp_playback_seek(gint time); +void bmp_playback_seek_relative(gint offset); + +#endif