mp3splt-gtk
|
00001 /********************************************************** 00002 * 00003 * mp3splt-gtk -- utility based on mp3splt, 00004 * for mp3/ogg splitting without decoding 00005 * 00006 * Copyright: (C) 2005-2011 Alexandru Munteanu 00007 * Contact: io_fx@yahoo.fr 00008 * 00009 * 00010 * http://mp3splt.sourceforge.net/ 00011 * 00012 *********************************************************/ 00013 00014 /********************************************************** 00015 * 00016 * This program is free software; you can redistribute it and/or 00017 * modify it under the terms of the GNU General Public License 00018 * as published by the Free Software Foundation; either version 2 00019 * of the License, or (at your option) any later version. 00020 * 00021 * This program is distributed in the hope that it will be useful, 00022 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00023 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00024 * GNU General Public License for more details. 00025 * 00026 * You should have received a copy of the GNU General Public License 00027 * along with this program; if not, write to the Free Software 00028 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 00029 * USA. 00030 * 00031 *********************************************************/ 00032 00033 /********************************************************** 00034 * Filename: player.h 00035 * 00036 * header of player.c, defines constants, etc.. 00037 * 00038 *********************************************************/ 00039 00040 #define PLAYER_AUDACIOUS 1 00041 #define PLAYER_SNACKAMP 2 00042 #define PLAYER_GSTREAMER 3 00043 00044 gint player_get_elapsed_time(); 00045 gint player_get_total_time(); 00046 gint player_is_running(); 00047 void player_start(); 00048 void player_start_add_files(GList *list); 00049 void player_add_files(GList *list); 00050 void player_add_files_and_select(GList *list); 00051 void player_add_play_files(GList *list); 00052 void player_start_play_with_songs(GList *list); 00053 void player_play(); 00054 void player_stop(); 00055 void player_pause(); 00056 void player_next(); 00057 void player_prev(); 00058 void player_jump(gint position); 00059 void player_get_song_infos(gchar *total_infos); 00060 gint player_is_playing(); 00061 gint player_is_paused(); 00062 gchar *player_get_filename(); 00063 gchar *player_get_title(); 00064 gint player_get_volume(); 00065 void player_set_volume(gint volume); 00066 gint player_get_playlist_number(); 00067 gint player_quit();