|
| | audio_sample_packer (audio_sample_format format, 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 *tt_restrict src, std::byte *tt_restrict dst, 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 tt::audio_sample_packer::operator() |
( |
float const *tt_restrict | src, |
|
|
std::byte *tt_restrict | dst, |
|
|
size_t | num_samples ) const |
|
noexcept |
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: