foobar2000 SDK  2015-08-03
Public Member Functions | Private Member Functions
playback_control_v2abstract

#include <playback_control.h>

+ Inheritance diagram for playback_control_v2:

Public Member Functions

virtual float get_volume_step ()=0
 
- Public Member Functions inherited from playback_control
virtual bool get_now_playing (metadb_handle_ptr &p_out)=0
 
virtual bool get_stop_after_current ()=0
 
virtual float get_volume ()=0
 
bool is_muted ()
 
virtual bool is_paused ()=0
 
virtual bool is_playing ()=0
 
void next ()
 
virtual void pause (bool p_state)=0
 
void play_or_pause ()
 
void play_or_unpause ()
 
void play_start (t_track_command p_command=track_command_play, bool p_paused=false)
 
void play_stop ()
 
virtual bool playback_can_seek ()=0
 
virtual bool playback_format_title (titleformat_hook *p_hook, pfc::string_base &p_out, const service_ptr_t< class titleformat_object > &p_script, titleformat_text_filter *p_filter, t_display_level p_level)=0
 
bool playback_format_title_ex (metadb_handle_ptr p_item, titleformat_hook *p_hook, pfc::string_base &p_out, const service_ptr_t< class titleformat_object > &p_script, titleformat_text_filter *p_filter, t_display_level p_level)
 
double playback_get_length ()
 
double playback_get_length_ex ()
 
virtual double playback_get_position ()=0
 
virtual void playback_seek (double p_time)=0
 
virtual void playback_seek_delta (double p_delta)=0
 
void previous ()
 
virtual void set_stop_after_current (bool p_state)=0
 
virtual void set_volume (float p_value)=0
 
virtual void start (t_track_command p_command=track_command_play, bool p_paused=false)=0
 
virtual void stop ()=0
 
void toggle_pause ()
 
void toggle_stop_after_current ()
 
virtual void volume_down ()=0
 
virtual void volume_mute_toggle ()=0
 
virtual void volume_up ()=0
 
- Public Member Functions inherited from service_base
template<typename outPtr_t >
bool cast (outPtr_t &outPtr)
 
virtual int service_add_ref ()=0 throw ()
 
virtual bool service_query (service_ptr_t< service_base > &p_out, const GUID &p_guid)
 
template<class T >
bool service_query_t (service_ptr_t< T > &p_out)
 
virtual int service_release ()=0 throw ()
 

Private Member Functions

 FB2K_MAKE_SERVICE_INTERFACE (playback_control_v2, playback_control)
 

Additional Inherited Members

- Public Types inherited from playback_control
enum  t_display_level { display_level_none, display_level_basic, display_level_titles, display_level_all }
 
enum  t_stop_reason { stop_reason_user = 0, stop_reason_eof, stop_reason_starting_another, stop_reason_shutting_down }
 
enum  t_track_command {
  track_command_default = 0, track_command_play, track_command_next, track_command_prev,
  track_command_settrack, track_command_rand, track_command_resume
}
 
- Public Types inherited from service_base
typedef service_base t_interface
 
- Static Public Attributes inherited from playback_control
static const int volume_mute = -100
 
- Protected Member Functions inherited from service_base
 service_base ()
 
 ~service_base ()
 

Detailed Description

Definition at line 142 of file playback_control.h.

Member Function Documentation

playback_control_v2::FB2K_MAKE_SERVICE_INTERFACE ( playback_control_v2  ,
playback_control   
)
private
virtual float playback_control_v2::get_volume_step ( )
pure virtual

Returns user-specified the step dB value for volume decrement/increment.


The documentation for this class was generated from the following file: