Function samples_load¶
function samples_load(fbase *, const Tin *, size_t, bool) audio¶
template <typename Tin>
void samples_load(fbase* out, const Tin* in, size_t size, bool swap_bytes = false) noexcept Loads audio samples into a floating-point buffer.
| Tin | Input sample type. |
| out | Destination buffer. |
| in | Source buffer. |
| size | Number of samples. |
| swap_bytes | Whether to swap bytes. |
Fully qualified name: kfr::samples_load(fbase *, const Tin *, size_t, bool)
Declared at audio/data.hpp:127
Function samples_load¶
function samples_load(fbase *const *, const Tin *, size_t, size_t, bool) audio¶
template <typename Tin>
void samples_load(fbase* const out[], const Tin* in, size_t channels, size_t size,
bool swap_bytes = false) noexcept Loads interleaved audio samples into a planar floating-point buffer.
| Tin | Input sample type. |
| out | Destination buffers for each channel. |
| in | Source buffer. |
| channels | Number of channels. |
| size | Number of samples per channel. |
| swap_bytes | Whether to swap bytes. |
Fully qualified name: kfr::samples_load(fbase *const *, const Tin *, size_t, size_t, bool)
Declared at audio/data.hpp:139
Function samples_load¶
function samples_load(audio_sample_type, fbase *, const std::byte *, size_t, bool) audio¶
Loads audio samples based on sample type.
| type | Audio sample type. |
| out | Destination buffer. |
| in | Source buffer. |
| size | Number of samples. |
| swap_bytes | Whether to swap bytes. |
Fully qualified name: kfr::samples_load(audio_sample_type, fbase *, const std::byte *, size_t, bool)
Declared at audio/data.hpp:190
Function samples_load¶
function samples_load(audio_sample_type, fbase *const *, const std::byte *, size_t, size_t, bool) audio¶
Loads interleaved audio samples based on sample type.
| type | Audio sample type. |
| out | Destination buffers for each channel. |
| in | Source buffer. |
| channels | Number of channels. |
| size | Number of samples per channel. |
| swap_bytes | Whether to swap bytes. |
Fully qualified name: kfr::samples_load(audio_sample_type, fbase *const *, const std::byte *, size_t, size_t, bool)
Declared at audio/data.hpp:224
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.