mp3splt-gtk

- Main Page
- Related Pages
- Data Structures
- Files

- File List
- Globals

audacious_control.h
1 /**********************************************************
2 *
3 * mp3splt-gtk -- utility based on mp3splt,
4 * for mp3/ogg splitting without decoding
5 *
6 * Copyright (c) 2005-2013 Alexandru Munteanu - m@ioalex.net
7 *
8 * http://mp3splt.sourceforge.net/
9 *
10 *********************************************************/
11
12 /**********************************************************
13 *
14 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License
16 * as published by the Free Software Foundation; either version 2
17 * of the License, or (at your option) any later version.
18 *
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
23 *
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, write to the Free Software
26 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
27 * USA.
28 *
29 *********************************************************/
30
31 /**********************************************************
32 * Filename: audacious_control.h
33 *
34 * header to audacious_control.c
35 *
36 * audacious_control.c controls the audacious player
37 *********************************************************/
38
39 #ifndef audacious_CONTROL_H
40
41 #define audacious_CONTROL_H
42
43 #include "external_includes.h"
44 #include "ui_types.h"
45
46 void myaudacious_get_song_infos(gchar *total_infos, ui_state *ui);
47 gchar *myaudacious_get_filename(ui_state *ui);
48 gint myaudacious_get_playlist_number(ui_state *ui);
49 gchar *myaudacious_get_title_song(ui_state *ui);
50 gint myaudacious_get_time_elapsed(ui_state *ui);
51 void myaudacious_start(ui_state *ui);
52 void myaudacious_select_last_file(ui_state *ui);
53 void myaudacious_play_last_file(ui_state *ui);
54 void myaudacious_add_files(GList *list, ui_state *ui);
55 void myaudacious_set_volume(gint volume, ui_state *ui);
56 gint myaudacious_get_volume(ui_state *ui);
57 void myaudacious_start_with_songs(GList *list, ui_state *ui);
58 gint myaudacious_is_running(ui_state *ui);
59 gint myaudacious_is_paused(ui_state *ui);
60 void myaudacious_play(ui_state *ui);
61 void myaudacious_stop(ui_state *ui);
62 void myaudacious_pause(ui_state *ui);
63 void myaudacious_next(ui_state *ui);
64 void myaudacious_prev(ui_state *ui);
65 void myaudacious_jump(gint position, ui_state *ui);
66 gint myaudacious_get_total_time(ui_state *ui);
67 gint myaudacious_is_playing(ui_state *ui);
68
69 #endif
70
myaudacious_set_volume
void myaudacious_set_volume(gint volume, ui_state *ui)
sets the volume level
Definition: audacious_control.c:174
myaudacious_start
void myaudacious_start(ui_state *ui)
starts audacious
Definition: audacious_control.c:128
myaudacious_jump
void myaudacious_jump(gint position, ui_state *ui)
jump to time
Definition: audacious_control.c:261
myaudacious_get_song_infos
void myaudacious_get_song_infos(gchar *total_infos, ui_state *ui)
Acquires informations about the song.
Definition: audacious_control.c:52
myaudacious_select_last_file
void myaudacious_select_last_file(ui_state *ui)
selects the last file in the playlist
Definition: audacious_control.c:145
myaudacious_get_volume
gint myaudacious_get_volume(ui_state *ui)
returns volume level
Definition: audacious_control.c:180
myaudacious_is_paused
gint myaudacious_is_paused(ui_state *ui)
returns TRUE if audacious is paused, if not, FALSE
Definition: audacious_control.c:220
myaudacious_get_time_elapsed
gint myaudacious_get_time_elapsed(ui_state *ui)
returns elapsed time
Definition: audacious_control.c:122
myaudacious_get_playlist_number
gint myaudacious_get_playlist_number(ui_state *ui)
returns the number of songs in the playlist
Definition: audacious_control.c:106
myaudacious_is_running
gint myaudacious_is_running(ui_state *ui)
returns TRUE if audacious is running; if not, FALSE
Definition: audacious_control.c:196
ui_state
Definition: ui_types.h:485
myaudacious_play
void myaudacious_play(ui_state *ui)
Start playing the current song.
Definition: audacious_control.c:231
myaudacious_prev
void myaudacious_prev(ui_state *ui)
Switch to the previous song.
Definition: audacious_control.c:255
myaudacious_start_with_songs
void myaudacious_start_with_songs(GList *list, ui_state *ui)
starts audacious with songs
Definition: audacious_control.c:189
myaudacious_is_playing
gint myaudacious_is_playing(ui_state *ui)
returns TRUE if audacious is playing, else FALSE
Definition: audacious_control.c:274
myaudacious_get_filename
gchar * myaudacious_get_filename(ui_state *ui)
returns the filename
Definition: audacious_control.c:89
myaudacious_get_total_time
gint myaudacious_get_total_time(ui_state *ui)
returns the total duration of the current song
Definition: audacious_control.c:267
myaudacious_add_files
void myaudacious_add_files(GList *list, ui_state *ui)
add files to the audacious playlist
Definition: audacious_control.c:159
myaudacious_play_last_file
void myaudacious_play_last_file(ui_state *ui)
plays the last file of the playlist
Definition: audacious_control.c:152
myaudacious_stop
void myaudacious_stop(ui_state *ui)
Stop playing the current song.
Definition: audacious_control.c:237
myaudacious_pause
void myaudacious_pause(ui_state *ui)
Pause playing the current song.
Definition: audacious_control.c:243
myaudacious_next
void myaudacious_next(ui_state *ui)
Switch to the next song.
Definition: audacious_control.c:249
myaudacious_get_title_song
gchar * myaudacious_get_title_song(ui_state *ui)
returns the title of the song
Definition: audacious_control.c:115