foobar2000 SDK
2015-08-03
|
#include <dsp.h>
Public Member Functions | |
cfg_dsp_chain_config (const GUID &p_guid) | |
t_size | get_count () const |
bool | get_data (dsp_chain_config &p_data) const |
const dsp_preset & | get_item (t_size p_index) const |
void | reset () |
void | set_data (const dsp_chain_config &p_data) |
Public Member Functions inherited from cfg_var | |
GUID | get_guid () const |
Public Member Functions inherited from cfg_var_reader | |
cfg_var_reader (const GUID &guid) | |
~cfg_var_reader () | |
Public Member Functions inherited from cfg_var_writer | |
cfg_var_writer (const GUID &guid) | |
~cfg_var_writer () | |
Protected Member Functions | |
void | get_data_raw (stream_writer *p_stream, abort_callback &p_abort) |
void | set_data_raw (stream_reader *p_stream, t_size p_sizehint, abort_callback &p_abort) |
Protected Member Functions inherited from cfg_var | |
cfg_var (const GUID &p_guid) | |
Private Attributes | |
dsp_chain_config_impl | m_data |
Additional Inherited Members | |
Static Public Member Functions inherited from cfg_var_reader | |
static void | config_read_file (stream_reader *p_stream, abort_callback &p_abort) |
Static Public Member Functions inherited from cfg_var_writer | |
static void | config_write_file (stream_writer *p_stream, abort_callback &p_abort) |
Data Fields inherited from cfg_var_reader | |
const GUID | m_guid |
Data Fields inherited from cfg_var_writer | |
const GUID | m_guid |
|
inline |
bool cfg_dsp_chain_config::get_data | ( | dsp_chain_config & | p_data | ) | const |
|
protectedvirtual |
Retrieves state of the variable. Called only from main thread, when writing configuration file.
p_stream | Stream receiving state of the variable. |
Implements cfg_var_writer.
Definition at line 153 of file dsp.cpp.
|
inline |
Definition at line 454 of file dsp.h.
void cfg_dsp_chain_config::set_data | ( | const dsp_chain_config & | p_data | ) |
|
protectedvirtual |
Sets state of the variable. Called only from main thread, when reading configuration file.
p_stream | Stream containing new state of the variable. |
p_sizehint | Number of bytes contained in the stream; reading past p_sizehint bytes will fail (EOF). |
Implements cfg_var_reader.
Definition at line 157 of file dsp.cpp.
|
private |