HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
hi::v1::audio_stream_format Struct Reference

#include <hikogui/audio/audio_stream_format.hpp>

Public Member Functions

constexpr audio_stream_format (audio_stream_format const &) noexcept=default
 
constexpr audio_stream_format (audio_stream_format &&) noexcept=default
 
constexpr audio_stream_formatoperator= (audio_stream_format const &) noexcept=default
 
constexpr audio_stream_formatoperator= (audio_stream_format &&) noexcept=default
 
constexpr audio_stream_format (pcm_format format, uint32_t sample_rate, uint16_t num_channels, hi::speaker_mapping speaker_mapping=hi::speaker_mapping::none) noexcept
 
constexpr bool empty () const noexcept
 
constexpr operator bool () const noexcept
 
constexpr bool holds_invariant () const noexcept
 

Data Fields

pcm_format format = {}
 
uint32_t sample_rate = 0
 
uint16_t num_channels = 0
 
hi::speaker_mapping speaker_mapping = hi::speaker_mapping::none
 

Detailed Description

The format of a stream of audio.


The documentation for this struct was generated from the following file: