#include <audio_format.hpp>
Definition at line 37 of file audio_format.hpp.
◆ ByteOrder
◆ ChannelOrdering
◆ byte_order_from_string()
| std::optional< ByteOrder > rav::AudioFormat::byte_order_from_string |
( |
const std::string & | str | ) |
|
|
inlinestatic |
◆ bytes_per_frame()
| uint32_t rav::AudioFormat::bytes_per_frame |
( |
| ) |
const |
|
inlinenodiscard |
◆ bytes_per_sample()
| uint8_t rav::AudioFormat::bytes_per_sample |
( |
| ) |
const |
|
inlinenodiscard |
◆ channel_ordering_from_string()
| std::optional< ChannelOrdering > rav::AudioFormat::channel_ordering_from_string |
( |
const std::string & | str | ) |
|
|
inlinestatic |
◆ ground_value()
| uint8_t rav::AudioFormat::ground_value |
( |
| ) |
const |
|
inlinenodiscard |
◆ is_native_byte_order()
| bool rav::AudioFormat::is_native_byte_order |
( |
| ) |
const |
|
inlinenodiscard |
◆ is_valid()
| bool rav::AudioFormat::is_valid |
( |
| ) |
const |
|
inlinenodiscard |
◆ operator!=()
| bool rav::AudioFormat::operator!= |
( |
const AudioFormat & | other | ) |
const |
|
inline |
◆ operator==()
| bool rav::AudioFormat::operator== |
( |
const AudioFormat & | other | ) |
const |
|
inline |
◆ tie()
| auto rav::AudioFormat::tie |
( |
| ) |
const |
|
inlinenodiscard |
◆ to_string() [1/3]
| std::string rav::AudioFormat::to_string |
( |
| ) |
const |
|
inlinenodiscard |
◆ to_string() [2/3]
| const char * rav::AudioFormat::to_string |
( |
const ByteOrder | order | ) |
|
|
inlinestatic |
◆ to_string() [3/3]
◆ with_byte_order()
- Parameters
-
| order | The byte order to set. |
- Returns
- A copy of this AudioFormat with the byte order set to the given value.
Definition at line 124 of file audio_format.hpp.
◆ byte_order
◆ encoding
◆ num_channels
| uint32_t rav::AudioFormat::num_channels {} |
◆ ordering
◆ sample_rate
| uint32_t rav::AudioFormat::sample_rate {} |
The documentation for this struct was generated from the following file: