foobar2000 SDK  2015-08-03
Public Member Functions | Private Attributes
dsp_preset_writer

#include <dsp.h>

+ Inheritance diagram for dsp_preset_writer:

Public Member Functions

void flush (dsp_preset &p_preset)
 
void write (const void *p_buffer, t_size p_bytes, abort_callback &p_abort)
 

Private Attributes

pfc::array_t< t_uint8, pfc::alloc_fast_aggressivem_data
 

Detailed Description

Definition at line 217 of file dsp.h.

Member Function Documentation

void dsp_preset_writer::flush ( dsp_preset p_preset)
inline

Definition at line 223 of file dsp.h.

223  {
224  p_preset.set_data(m_data.get_ptr(),m_data.get_size());
225  m_data.set_size(0);
226  }
const t_item * get_ptr() const
Definition: array.h:213
void set_size(t_size p_size)
Definition: array.h:104
virtual void set_data(const void *p_data, t_size p_data_size)=0
t_size get_size() const
Definition: array.h:130
pfc::array_t< t_uint8, pfc::alloc_fast_aggressive > m_data
Definition: dsp.h:228
void dsp_preset_writer::write ( const void *  p_buffer,
t_size  p_bytes,
abort_callback p_abort 
)
inline

Definition at line 219 of file dsp.h.

219  {
220  p_abort.check();
221  m_data.append_fromptr((const t_uint8 *) p_buffer,p_bytes);
222  }
uint8_t t_uint8
Definition: int_types.h:9
void append_fromptr(const t_append *p_buffer, t_size p_count)
Warning: buffer pointer must not point to buffer allocated by this array (fixme). ...
Definition: array.h:167
pfc::array_t< t_uint8, pfc::alloc_fast_aggressive > m_data
Definition: dsp.h:228

Field Documentation

pfc::array_t<t_uint8,pfc::alloc_fast_aggressive> dsp_preset_writer::m_data
private

Definition at line 228 of file dsp.h.


The documentation for this class was generated from the following file: