Audacious  $Id:Doxyfile42802007-03-2104:39:00Znenolod$
playback.h
Go to the documentation of this file.
1 /* Audacious - Cross-platform multimedia player
2  * Copyright (C) 2005-2011 Audacious development team
3  *
4  * Based on BMP:
5  * Copyright (C) 2003-2004 BMP development team
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; under version 3 of the License.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program. If not, see <http://www.gnu.org/licenses>.
18  *
19  * The Audacious team does not consider modular code linking to
20  * Audacious or using our public API to be a derived work.
21  */
22 
23 #ifndef AUDACIOUS_PLAYBACK_H
24 #define AUDACIOUS_PLAYBACK_H
25 
26 #include <libaudcore/core.h>
27 
28 void playback_play (int seek_time, bool_t pause);
29 int playback_get_time(void);
30 void playback_pause(void);
31 void playback_stop(void);
35 void playback_seek(int time);
36 
37 char * playback_get_filename (void); /* pooled */
38 char * playback_get_title (void); /* pooled */
39 int playback_get_length (void);
40 void playback_get_info (int * bitrate, int * samplerate, int * channels);
41 
42 void playback_get_volume (int * l, int * r);
43 void playback_set_volume (int l, int r);
44 
45 #endif /* AUDACIOUS_PLAYBACK_H */