mp3splt-gtk

- Main Page
- Related Pages
- Data Structures
- Files

- File List
- Globals

gstreamer_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
40 #ifndef GSTREAMER_CONTROL_H
41
42 #define GSTREAMER_CONTROL_H
43
44 #include "all_includes.h"
45
46 void gstreamer_get_song_infos(gchar *total_infos, ui_state *ui);
47 gchar *gstreamer_get_filename(ui_state *ui);
48 gint gstreamer_get_playlist_number(ui_state *ui);
49 gchar *gstreamer_get_title_song(ui_state *ui);
50 gint gstreamer_get_time_elapsed(ui_state *ui);
51 void gstreamer_start(ui_state *ui);
52 void gstreamer_select_last_file(ui_state *ui);
53 void gstreamer_play_last_file(ui_state *ui);
54 void gstreamer_add_files(GList *list, ui_state *ui);
55 void gstreamer_set_volume(gint volume, ui_state *ui);
56 gint gstreamer_get_volume(ui_state *ui);
57 void gstreamer_start_with_songs(GList *list, ui_state *ui);
58 gint gstreamer_is_running(ui_state *ui);
59 gint gstreamer_is_paused(ui_state *ui);
60 void gstreamer_play(ui_state *ui);
61 void gstreamer_stop(ui_state *ui);
62 void gstreamer_pause(ui_state *ui);
63 void gstreamer_next(ui_state *ui);
64 void gstreamer_prev(ui_state *ui);
65 void gstreamer_jump(gint position, ui_state *ui);
66 gint gstreamer_get_total_time(ui_state *ui);
67 gint gstreamer_is_playing(ui_state *ui);
68 void gstreamer_quit(ui_state *ui);
69
70 #endif
71
gstreamer_select_last_file
void gstreamer_select_last_file(ui_state *ui)
selects the last file in the playlist
Definition: gstreamer_control.c:389
gstreamer_get_time_elapsed
gint gstreamer_get_time_elapsed(ui_state *ui)
returns elapsed time
Definition: gstreamer_control.c:331
gstreamer_get_playlist_number
gint gstreamer_get_playlist_number(ui_state *ui)
returns the number of songs of the playlist
Definition: gstreamer_control.c:262
gstreamer_start
void gstreamer_start(ui_state *ui)
starts gstreamer
Definition: gstreamer_control.c:352
gstreamer_play_last_file
void gstreamer_play_last_file(ui_state *ui)
plays the last file of the playlist
Definition: gstreamer_control.c:394
gstreamer_is_playing
gint gstreamer_is_playing(ui_state *ui)
returns TRUE if gstreamer is playing, else FALSE
Definition: gstreamer_control.c:589
ui_state
Definition: ui_types.h:485
gstreamer_get_filename
gchar * gstreamer_get_filename(ui_state *ui)
returns the filename
Definition: gstreamer_control.c:250
gstreamer_quit
void gstreamer_quit(ui_state *ui)
quits player
Definition: gstreamer_control.c:607
gstreamer_next
void gstreamer_next(ui_state *ui)
changes to next song
Definition: gstreamer_control.c:543
gstreamer_get_title_song
gchar * gstreamer_get_title_song(ui_state *ui)
returns the title of the song
Definition: gstreamer_control.c:271
gstreamer_is_paused
gint gstreamer_is_paused(ui_state *ui)
returns TRUE if gstreamer is paused, if not, FALSE
Definition: gstreamer_control.c:474
gstreamer_get_total_time
gint gstreamer_get_total_time(ui_state *ui)
returns total time of the current song
Definition: gstreamer_control.c:566
gstreamer_get_song_infos
void gstreamer_get_song_infos(gchar *total_infos, ui_state *ui)
Gets information about the&lt; song.
Definition: gstreamer_control.c:177
gstreamer_play
void gstreamer_play(ui_state *ui)
plays a song
Definition: gstreamer_control.c:493
gstreamer_start_with_songs
void gstreamer_start_with_songs(GList *list, ui_state *ui)
starts gstreamer with songs
Definition: gstreamer_control.c:460
gstreamer_stop
void gstreamer_stop(ui_state *ui)
stops a song
Definition: gstreamer_control.c:511
gstreamer_jump
void gstreamer_jump(gint position, ui_state *ui)
jump to time
Definition: gstreamer_control.c:553
gstreamer_get_volume
gint gstreamer_get_volume(ui_state *ui)
returns volume
Definition: gstreamer_control.c:445
gstreamer_set_volume
void gstreamer_set_volume(gint volume, ui_state *ui)
sets volume
Definition: gstreamer_control.c:434
gstreamer_add_files
void gstreamer_add_files(GList *list, ui_state *ui)
add files to the gstreamer playlist
Definition: gstreamer_control.c:401
gstreamer_pause
void gstreamer_pause(ui_state *ui)
pause a song
Definition: gstreamer_control.c:522
gstreamer_prev
void gstreamer_prev(ui_state *ui)
changes to previous song
Definition: gstreamer_control.c:548
gstreamer_is_running
gint gstreamer_is_running(ui_state *ui)
returns TRUE if gstreamer is running; if not, FALSE
Definition: gstreamer_control.c:468