|
| | audio_sample_packer (audio_sample_format format, std::size_t stride) noexcept |
| | Audio sample packer One instance of this class can be used to pack multiple buffers either from one audio-proc to the next, or for each channel in a group of interleaved channels.
|
| |
| void | operator() (float const *hi_restrict src, std::byte *hi_restrict dst, std::size_t num_samples) const noexcept |
| | Unpack samples.
|
| |
◆ audio_sample_packer()
Audio sample packer One instance of this class can be used to pack 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 | Number of bytes to step for the next sample of the same channel. |
◆ operator()()
| void hi::v1::audio_sample_packer::operator() |
( |
float const *hi_restrict | src, |
|
|
std::byte *hi_restrict | dst, |
|
|
std::size_t | num_samples ) const |
|
inlinenoexcept |
Unpack samples.
- Parameters
-
| src | A pointer to an array of floating point samples of a single channel. |
| dst | A pointer to a byte array to store the packed samples into. |
| num_samples | Number of samples. |
The documentation for this class was generated from the following file: