|
| audio_sample_unpacker (audio_sample_format format, std::size_t stride) noexcept |
| Audio sample unpacker One instance of this class can be used to unpack multiple buffers either from one audio-proc to the next, or for each channel in a group of interleaved channels.
|
|
void | operator() (std::byte const *hi_restrict src, float *hi_restrict dst, std::size_t num_samples) const noexcept |
| Unpack samples.
|
|
◆ audio_sample_unpacker()
Audio sample unpacker One instance of this class can be used to unpack multiple buffers either from one audio-proc to the next, or for each channel in a group of interleaved channels.
- Parameters
-
format | The sample format. |
stride | The distance to the next sample. |
◆ operator()()
void hi::v1::audio_sample_unpacker::operator() |
( |
std::byte const *hi_restrict | src, |
|
|
float *hi_restrict | dst, |
|
|
std::size_t | num_samples ) const |
|
inlinenoexcept |
Unpack samples.
- Parameters
-
src | A pointer to a byte array containing samples. |
dst | A pointer to a array of floating point samples of a single channel. |
num_samples | Number of samples. |
The documentation for this class was generated from the following file: