|
foobar2000 SDK
2015-08-03
|
#include <dsp_manager.h>
Inheritance diagram for dsp_config_manager:Public Member Functions | |
| virtual HWND | configure_embedded (const dsp_chain_config &p_initdata, HWND p_parent, unsigned p_id, bool p_from_modal)=0 |
| virtual void | configure_embedded_change (HWND wnd, const dsp_chain_config &p_data)=0 |
| virtual void | configure_embedded_retrieve (HWND wnd, dsp_chain_config &p_data)=0 |
| virtual bool | configure_popup (dsp_chain_config &p_data, HWND p_parent, const char *p_title)=0 |
| void | core_disable_dsp (const GUID &id) |
| void | core_enable_dsp (const dsp_preset &preset) |
| bool | core_query_dsp (const GUID &id, dsp_preset &out) |
| virtual void | get_core_settings (dsp_chain_config &p_out)=0 |
| virtual void | set_core_settings (const dsp_chain_config &p_data)=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_ENTRYPOINT (dsp_config_manager) | |
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 () | |
Core API for accessing core playback DSP settings as well as spawning DSP configuration dialogs.
Use static_api_ptr_t<dsp_config_manager>() to instantiate.
Definition at line 40 of file dsp_manager.h.
|
pure virtual |
Spawns an embedded DSP settings dialog.
| p_initdata | Initial DSP chain configuration to put in the dialog. |
| p_parent | Parent window to contain the embedded dialog. |
| p_id | Control ID of the embedded dialog. The parent window will receive a WM_COMMAND with BN_CLICKED and this identifier when user changes settings in the embedded dialog. |
| p_from_modal | Must be set to true when the parent window is a modal dialog, false otherwise. |
|
pure virtual |
Changes current settings in an embedded DSP settings dialog. See also: configure_embedded().
|
pure virtual |
Retrieves current settings from an embedded DSP settings dialog. See also: configure_embedded().
|
pure virtual |
Runs a modal DSP settings dialog.
| p_data | DSP chain configuration to edit - contains initial configuration to put in the dialog when called, receives the new configuration on successful edit. |
| void dsp_config_manager::core_disable_dsp | ( | const GUID & | id | ) |
Helper - disables a DSP in core playback settings.
Definition at line 161 of file dsp_manager.cpp.
| void dsp_config_manager::core_enable_dsp | ( | const dsp_preset & | preset | ) |
Helper - enables a DSP in core playback settings.
Definition at line 140 of file dsp_manager.cpp.
| bool dsp_config_manager::core_query_dsp | ( | const GUID & | id, |
| dsp_preset & | out | ||
| ) |
Helper - if a DSP with the specified identifier is present in playback settings, retrieves its configuration and returns true, otherwise returns false.
Definition at line 179 of file dsp_manager.cpp.
|
private |
|
pure virtual |
Retrieves current core playback DSP settings.
|
pure virtual |
Changes current core playback DSP settings.
1.8.11