mp3splt-gtk
snackamp_control.h
00001 /**********************************************************
00002  *
00003  * mp3splt-gtk -- utility based on mp3splt,
00004  *                for mp3/ogg splitting without decoding
00005  *
00006  * Copyright (c) 2005-2011 Alexandru Munteanu - io_fx@yahoo.fr
00007  *
00008  * http://mp3splt.sourceforge.net/
00009  *
00010  *********************************************************/
00011 
00012 /**********************************************************
00013  *
00014  * This program is free software; you can redistribute it and/or
00015  * modify it under the terms of the GNU General Public License
00016  * as published by the Free Software Foundation; either version 2
00017  * of the License, or (at your option) any later version.
00018  *
00019  * This program is distributed in the hope that it will be useful,
00020  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00021  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00022  * GNU General Public License for more details.
00023  *
00024  * You should have received a copy of the GNU General Public License
00025  * along with this program; if not, write to the Free Software
00026  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
00027  * USA.
00028  *
00029  *********************************************************/
00030 
00031 /**********************************************************
00032  * Filename: snackamp_control.h
00033  *
00034  * header of snackamp_control.c
00035  *
00036  *********************************************************/
00037 
00038 gint connect_snackamp(gint port);
00039 gchar *cut_begin_end(gchar *result);
00040 gint disconnect_snackamp();
00041 gchar *snackamp_socket_send_message(gchar *message);
00042 gint get_integer_from_string(gchar *result);
00043 gboolean snackamp_is_connected();
00044 void snackamp_get_song_infos(gchar *total_infos);
00045 gchar *snackamp_get_filename();
00046 gint snackamp_get_playlist_pos();
00047 void snackamp_stop();
00048 gint snackamp_get_playlist_number();
00049 gchar *snackamp_get_title_song();
00050 gint snackamp_get_time_elapsed();
00051 void snackamp_start();
00052 void snackamp_set_playlist_pos(gint pos);
00053 void snackamp_select_last_file();
00054 void snackamp_play();
00055 void snackamp_play_last_file();
00056 void snackamp_add_files(GList *list);
00057 void snackamp_set_volume(gint volume);
00058 gint snackamp_get_volume();
00059 void snackamp_start_with_songs(GList *list);
00060 gint snackamp_is_running();
00061 void snackamp_pause();
00062 void snackamp_next();
00063 void snackamp_prev();
00064 void snackamp_jump(gint position);
00065 gint snackamp_get_total_time();
00066 gint snackamp_is_playing();
00067 gint snackamp_is_paused();
00068 void snackamp_quit();
00069 
00070