foobar2000 SDK  2015-08-03
Data Structures | Functions | Variables
dsp.cpp File Reference

Go to the source code of this file.

Data Structures

class  CMyDSPPopup
 
class  dsp_sample
 

Functions

static void RunDSPConfigPopup (const dsp_preset &p_data, HWND p_parent, dsp_preset_edit_callback &p_callback)
 

Variables

static dsp_factory_t< dsp_sampleg_dsp_sample_factory
 

Function Documentation

static void RunDSPConfigPopup ( const dsp_preset p_data,
HWND  p_parent,
dsp_preset_edit_callback p_callback 
)
static

Definition at line 147 of file dsp.cpp.

147  {
148  CMyDSPPopup popup(p_data, p_callback);
149  if (popup.DoModal(p_parent) != IDOK) {
150  // If the dialog exited with something else than IDOK,k
151  // tell host that the editing has been cancelled by sending it old preset data that we got initialized with
152  p_callback.on_preset_changed(p_data);
153  }
154 }
virtual void on_preset_changed(const dsp_preset &)=0

Variable Documentation

dsp_factory_t<dsp_sample> g_dsp_sample_factory
static

Definition at line 82 of file dsp.cpp.