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

#include <input.h>

+ Inheritance diagram for input_decoder_v3:

Public Member Functions

virtual bool flush_on_pause ()=0
 
virtual void set_pause (bool paused)=0
 
- Public Member Functions inherited from input_decoder
virtual bool can_seek ()=0
 
 FB2K_MAKE_SERVICE_INTERFACE (input_decoder, input_info_reader)
 
virtual bool get_dynamic_info (file_info &p_out, double &p_timestamp_delta)=0
 
virtual bool get_dynamic_info_track (file_info &p_out, double &p_timestamp_delta)=0
 
virtual void initialize (t_uint32 p_subsong, unsigned p_flags, abort_callback &p_abort)=0
 
virtual void on_idle (abort_callback &p_abort)=0
 
virtual bool run (audio_chunk &p_chunk, abort_callback &p_abort)=0
 
virtual void seek (double p_seconds, abort_callback &p_abort)=0
 
- Public Member Functions inherited from input_info_reader
 FB2K_MAKE_SERVICE_INTERFACE (input_info_reader, service_base)
 
virtual t_filestats get_file_stats (abort_callback &p_abort)=0
 
virtual void get_info (t_uint32 p_subsong, file_info &p_info, abort_callback &p_abort)=0
 
virtual t_uint32 get_subsong (t_uint32 p_index)=0
 
virtual t_uint32 get_subsong_count ()=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 (input_decoder_v3, input_decoder_v2)
 

Additional Inherited Members

- Public Types inherited from service_base
typedef service_base t_interface
 
- Protected Member Functions inherited from service_base
 service_base ()
 
 ~service_base ()
 

Detailed Description

Definition at line 110 of file input.h.

Member Function Documentation

input_decoder_v3::FB2K_MAKE_SERVICE_INTERFACE ( input_decoder_v3  ,
input_decoder_v2   
)
private
virtual bool input_decoder_v3::flush_on_pause ( )
pure virtual

OPTIONAL, should return false in most cases; return true to force playback buffer flush on unpause. Valid only after initialize() with input_flag_playback.

virtual void input_decoder_v3::set_pause ( bool  paused)
pure virtual

OPTIONAL, in case your input cares about paused/unpaused state, handle this to do any necessary additional processing. Valid only after initialize() with input_flag_playback.


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