mp3splt-gtk
player.h
1 /**********************************************************
2  *
3  * mp3splt-gtk -- utility based on mp3splt,
4  * for mp3/ogg splitting without decoding
5  *
6  * Copyright: (C) 2005-2012 Alexandru Munteanu
7  * Contact: io_fx@yahoo.fr
8  *
9  *
10  * http://mp3splt.sourceforge.net/
11  *
12  *********************************************************/
13 
14 /**********************************************************
15  *
16  * This program is free software; you can redistribute it and/or
17  * modify it under the terms of the GNU General Public License
18  * as published by the Free Software Foundation; either version 2
19  * of the License, or (at your option) any later version.
20  *
21  * This program is distributed in the hope that it will be useful,
22  * but WITHOUT ANY WARRANTY; without even the implied warranty of
23  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24  * GNU General Public License for more details.
25  *
26  * You should have received a copy of the GNU General Public License
27  * along with this program; if not, write to the Free Software
28  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
29  * USA.
30  *
31  *********************************************************/
32 
33 /**********************************************************
34  * Filename: player.h
35  *
36  * header of player.c, defines constants, etc..
37  *
38  *********************************************************/
39 
40 #define PLAYER_AUDACIOUS 1
41 #define PLAYER_SNACKAMP 2
42 #define PLAYER_GSTREAMER 3
43 
46 gint player_is_running();
47 void player_start();
48 void player_start_add_files(GList *list);
49 void player_add_files(GList *list);
50 void player_add_files_and_select(GList *list);
51 void player_add_play_files(GList *list);
52 void player_start_play_with_songs(GList *list);
53 void player_play();
54 void player_stop();
55 void player_pause();
56 void player_next();
57 void player_prev();
58 void player_jump(gint position);
59 void player_get_song_infos(gchar *total_infos);
60 gint player_is_playing();
61 gint player_is_paused();
62 gchar *player_get_filename();
63 gchar *player_get_title();
64 gint player_get_volume();
65 void player_set_volume(gint volume);
67 gint player_quit();