Skip to content

Function audio_sample_sizeof

function audio_sample_sizeof(audio_sample_type) base

constexpr size_t audio_sample_sizeof(audio_sample_type type) noexcept { … }

Returns the storage size in bytes of a sample of the given type.

The size is computed by rounding the bit depth up to the next multiple of 8.

Parameters
type The audio sample type to query.
Returns
The storage size of type, in bytes.

Fully qualified name: kfr::audio_sample_sizeof(audio_sample_type)

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.