Audacious  $Id:Doxyfile42802007-03-2104:39:00Znenolod$
playback.h
Go to the documentation of this file.
00001 /*  Audacious - Cross-platform multimedia player
00002  *  Copyright (C) 2005-2011  Audacious development team
00003  *
00004  *  Based on BMP:
00005  *  Copyright (C) 2003-2004  BMP development team
00006  *
00007  *  This program is free software; you can redistribute it and/or modify
00008  *  it under the terms of the GNU General Public License as published by
00009  *  the Free Software Foundation; under version 3 of the License.
00010  *
00011  *  This program is distributed in the hope that it will be useful,
00012  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  *  GNU General Public License for more details.
00015  *
00016  *  You should have received a copy of the GNU General Public License
00017  *  along with this program.  If not, see <http://www.gnu.org/licenses>.
00018  *
00019  *  The Audacious team does not consider modular code linking to
00020  *  Audacious or using our public API to be a derived work.
00021  */
00022 
00023 #ifndef AUDACIOUS_PLAYBACK_H
00024 #define AUDACIOUS_PLAYBACK_H
00025 
00026 #include <glib.h>
00027 
00028 void playback_play (gint seek_time, gboolean pause);
00029 gint playback_get_time(void);
00030 void playback_pause(void);
00031 void playback_stop(void);
00032 gboolean playback_get_playing(void);
00033 gboolean playback_get_ready (void);
00034 gboolean playback_get_paused(void);
00035 void playback_seek(gint time);
00036 
00037 gchar * playback_get_title (void);
00038 gint playback_get_length (void);
00039 void playback_get_info (gint * bitrate, gint * samplerate, gint * channels);
00040 
00041 void playback_get_volume (gint * l, gint * r);
00042 void playback_set_volume (gint l, gint r);
00043 
00044 #endif /* AUDACIOUS_PLAYBACK_H */