51 virtual bool configure_popup(
dsp_chain_config & p_data,HWND p_parent,
const char * p_title) = 0;
58 virtual HWND configure_embedded(
const dsp_chain_config & p_initdata,HWND p_parent,
unsigned p_id,
bool p_from_modal) = 0;
60 virtual void configure_embedded_retrieve(HWND wnd,
dsp_chain_config & p_data) = 0;
62 virtual void configure_embedded_change(HWND wnd,
const dsp_chain_config & p_data) = 0;
66 void core_enable_dsp(
const dsp_preset & preset);
68 void core_disable_dsp(
const GUID &
id);
80 virtual void on_core_settings_change(
const dsp_chain_config & p_newdata) = 0;
Interface to a DSP chunk list. A DSP chunk list object is passed to the DSP chain each time...
void flush()
Flushes the DSP (e.g. when seeking).
const dsp_manager & operator=(const dsp_manager &)
service_ptr_t< dsp > m_dsp
Base class for all service classes. Provides interfaces for reference counter and querying for differ...
void set_config(const dsp_chain_config &p_data)
Alters the DSP chain configuration. Should be called before the first run() to set the configuration ...
pfc::chain_list_v2_t< t_dsp_chain_entry > t_dsp_chain
bool is_active() const
Returns whether there's at least one active DSP in the configuration.
Callback class for getting notified about core playback DSP settings getting altered. Register your implementations with static service_factory_single_t<myclass> g_myclass_factory;.
dsp_manager(const dsp_manager &)
void dsp_run(t_dsp_chain::const_iterator p_iter, dsp_chunk_list *list, const metadb_handle_ptr &cur_file, unsigned flags, double &latency, abort_callback &)
Core API for accessing core playback DSP settings as well as spawning DSP configuration dialogs...
dsp_chain_config_impl m_config
Helper class for running audio data through a DSP chain.
double run(dsp_chunk_list *p_list, const metadb_handle_ptr &p_cur_file, unsigned p_flags, abort_callback &p_abort)
Runs DSP on the specified chunk list.
void close()
Equivalent to set_config() with empty configuration.