foobar2000 SDK
2015-08-03
|
#include <dsp.h>
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 () | |
Backwards-compatible extension to dsp interface, allows abortable operation. Introduced in 0.9.2.
|
inlineprivatevirtual |
p_chunk_list | List of chunks to process. The implementation may alter the list in any way, inserting chunks of different sample rate / channel configuration etc. |
p_cur_file | Optional, location of currently decoded file. May be null. |
p_flags | Flags. Can be null, or a combination of END_OF_TRACK and FLUSH constants. |
Implements dsp.
Definition at line 82 of file dsp.h.
|
pure virtual |
Abortable version of dsp::run(). See dsp::run() for descriptions of parameters.