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

#include <dsp.h>

+ Inheritance diagram for dsp_v2:

Public Member Functions

virtual void run_v2 (dsp_chunk_list *p_chunk_list, const metadb_handle_ptr &p_cur_file, int p_flags, abort_callback &p_abort)=0
 
- Public Member Functions inherited from dsp
 FB2K_MAKE_SERVICE_INTERFACE (dsp, service_base)
 
virtual void flush ()=0
 
virtual double get_latency ()=0
 
virtual bool need_track_change_mark ()=0
 
void run_abortable (dsp_chunk_list *p_chunk_list, const metadb_handle_ptr &p_cur_file, int p_flags, abort_callback &p_abort)
 
- 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 (dsp_v2, dsp)
 
void run (dsp_chunk_list *p_chunk_list, const metadb_handle_ptr &p_cur_file, int p_flags)
 

Additional Inherited Members

- Public Types inherited from dsp
enum  { END_OF_TRACK = 1, FLUSH = 2 }
 
- Public Types inherited from service_base
typedef service_base t_interface
 
- Protected Member Functions inherited from service_base
 service_base ()
 
 ~service_base ()
 

Detailed Description

Backwards-compatible extension to dsp interface, allows abortable operation. Introduced in 0.9.2.

Definition at line 77 of file dsp.h.

Member Function Documentation

dsp_v2::FB2K_MAKE_SERVICE_INTERFACE ( dsp_v2  ,
dsp   
)
private
void dsp_v2::run ( dsp_chunk_list p_chunk_list,
const metadb_handle_ptr p_cur_file,
int  p_flags 
)
inlineprivatevirtual
Parameters
p_chunk_listList of chunks to process. The implementation may alter the list in any way, inserting chunks of different sample rate / channel configuration etc.
p_cur_fileOptional, location of currently decoded file. May be null.
p_flagsFlags. Can be null, or a combination of END_OF_TRACK and FLUSH constants.

Implements dsp.

Definition at line 82 of file dsp.h.

82  {
83  run_v2(p_chunk_list,p_cur_file,p_flags,abort_callback_dummy());
84  }
abort_callback_impl abort_callback_dummy
virtual void run_v2(dsp_chunk_list *p_chunk_list, const metadb_handle_ptr &p_cur_file, int p_flags, abort_callback &p_abort)=0
Abortable version of dsp::run(). See dsp::run() for descriptions of parameters.
virtual void dsp_v2::run_v2 ( dsp_chunk_list p_chunk_list,
const metadb_handle_ptr p_cur_file,
int  p_flags,
abort_callback p_abort 
)
pure virtual

Abortable version of dsp::run(). See dsp::run() for descriptions of parameters.


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