Functions

playback.h File Reference

#include <glib.h>

Go to the source code of this file.

Functions

void playback_play (gint seek_time, gboolean pause)
gint playback_get_time (void)
void playback_pause (void)
void playback_stop (void)
gboolean playback_get_playing (void)
gboolean playback_get_paused (void)
void playback_seek (gint time)
gchar * playback_get_title (void)
gint playback_get_length (void)
void playback_get_info (gint *bitrate, gint *samplerate, gint *channels)
void input_get_volume (gint *l, gint *r)
void input_set_volume (gint l, gint r)

Function Documentation

void input_get_volume ( gint l,
gint r 
)
void input_set_volume ( gint  l,
gint  r 
)

Definition at line 648 of file playback.c.

Referenced by audacious_rc_set_volume(), drct_set_volume(), and mpris_player_volume_set().

void playback_get_info ( gint bitrate,
gint samplerate,
gint channels 
)

Definition at line 628 of file playback.c.

Referenced by drct_get_info(), and get_status_cb().

gint playback_get_length ( void   ) 

Definition at line 621 of file playback.c.

Referenced by drct_get_length(), and get_status_cb().

gboolean playback_get_paused ( void   ) 
gboolean playback_get_playing ( void   ) 
gint playback_get_time ( void   ) 
gchar* playback_get_title ( void   ) 

Definition at line 596 of file playback.c.

Referenced by drct_get_title().

void playback_pause ( void   ) 

Definition at line 217 of file playback.c.

Referenced by drct_pause(), drct_play(), handle_cmd_line_options(), pause_cb(), and play_pause_cb().

void playback_play ( gint  seek_time,
gboolean  pause 
)
void playback_seek ( gint  time  ) 

Definition at line 528 of file playback.c.

Referenced by drct_play(), drct_seek(), and seek_cb().

void playback_stop ( void   )