kwave
18.07.70
|
Public Member Functions | |
SampleStorage () | |
SampleStorage (const SampleStorage &other) | |
virtual | ~SampleStorage () |
void | resize (unsigned int size) |
Public Attributes | |
unsigned int | m_size |
sample_t * | m_data |
sample_t * | m_raw_data |
Definition at line 122 of file SampleArray.h.
Kwave::SampleArray::SampleStorage::SampleStorage | ( | ) |
default constructor
Definition at line 127 of file SampleArray.cpp.
References m_data, m_raw_data, and m_size.
Kwave::SampleArray::SampleStorage::SampleStorage | ( | const SampleStorage & | other | ) |
copy constructor
Definition at line 136 of file SampleArray.cpp.
References m_data, m_raw_data, m_size, and MEMCPY.
|
virtual |
void Kwave::SampleArray::SampleStorage::resize | ( | unsigned int | size | ) |
Resizes the array. Using raw data mode is not allowed and will lead to an assert!
size | new number of samples |
Definition at line 166 of file SampleArray.cpp.
References m_data, m_raw_data, m_size, and Kwave::SampleArray::size().
sample_t* Kwave::SampleArray::SampleStorage::m_data |
pointer to the area with the samples (allocated)
Definition at line 146 of file SampleArray.h.
Referenced by resize(), SampleStorage(), and ~SampleStorage().
sample_t* Kwave::SampleArray::SampleStorage::m_raw_data |
pointer to some raw data that has been set
Definition at line 149 of file SampleArray.h.
Referenced by resize(), SampleStorage(), and ~SampleStorage().
unsigned int Kwave::SampleArray::SampleStorage::m_size |
size in samples
Definition at line 143 of file SampleArray.h.
Referenced by resize(), and SampleStorage().