39 #ifndef audacious_CONTROL_H
41 #define audacious_CONTROL_H
43 #include "external_includes.h"
void myaudacious_set_volume(gint volume, ui_state *ui)
sets the volume level
void myaudacious_start(ui_state *ui)
starts audacious
void myaudacious_jump(gint position, ui_state *ui)
jump to time
void myaudacious_get_song_infos(gchar *total_infos, ui_state *ui)
Acquires informations about the song.
void myaudacious_select_last_file(ui_state *ui)
selects the last file in the playlist
gint myaudacious_get_volume(ui_state *ui)
returns volume level
gint myaudacious_is_paused(ui_state *ui)
returns TRUE if audacious is paused, if not, FALSE
gint myaudacious_get_time_elapsed(ui_state *ui)
returns elapsed time
gint myaudacious_get_playlist_number(ui_state *ui)
returns the number of songs in the playlist
gint myaudacious_is_running(ui_state *ui)
returns TRUE if audacious is running; if not, FALSE
void myaudacious_play(ui_state *ui)
Start playing the current song.
void myaudacious_prev(ui_state *ui)
Switch to the previous song.
void myaudacious_start_with_songs(GList *list, ui_state *ui)
starts audacious with songs
gint myaudacious_is_playing(ui_state *ui)
returns TRUE if audacious is playing, else FALSE
gchar * myaudacious_get_filename(ui_state *ui)
returns the filename
gint myaudacious_get_total_time(ui_state *ui)
returns the total duration of the current song
void myaudacious_add_files(GList *list, ui_state *ui)
add files to the audacious playlist
void myaudacious_play_last_file(ui_state *ui)
plays the last file of the playlist
void myaudacious_stop(ui_state *ui)
Stop playing the current song.
void myaudacious_pause(ui_state *ui)
Pause playing the current song.
void myaudacious_next(ui_state *ui)
Switch to the next song.
gchar * myaudacious_get_title_song(ui_state *ui)
returns the title of the song