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. |
Defined at audio/data.hpp:130