Losslessly owned decoded PCM, at its actual rate and channel order. More...
#include <StormByte/multimedia/display.hxx>

Public Member Functions | |
| PreviewAudio ()=default | |
| Construct an empty block. | |
| PreviewAudio (const PreviewAudio &other)=default | |
| Copy samples. | |
| PreviewAudio (PreviewAudio &&other) noexcept=default | |
| Move samples. | |
| ~PreviewAudio () noexcept=default | |
| Release samples. | |
| PreviewAudio & | operator= (const PreviewAudio &other)=default |
| Copy samples. | |
| PreviewAudio & | operator= (PreviewAudio &&other) noexcept=default |
| Move samples. | |
Public Attributes | |
| Safe::Vector< Safe::Binary > | m_planes |
| Exact owned sample planes. | |
| Safe::Vector< Safe::String > | m_channels |
| Identities in decoded sample order; size is channel count. | |
| AudioSample | m_format = AudioSample::Unsigned8 |
| Actual decoded sample representation. | |
| AudioLayout | m_layout = AudioLayout::Unspecified |
| Channel identity interpretation. | |
| bool | m_planar = false |
| Separate channel planes rather than packed samples. | |
| std::uint32_t | m_rate = 0 |
| Actual decoded samples per second per channel. | |
| std::uint32_t | m_frames = 0 |
| Samples per channel. | |
| std::uint64_t | m_epoch = 0 |
| Delivery generation. | |
| double | m_position = 0 |
| First sample presentation time in media seconds. | |
Losslessly owned decoded PCM, at its actual rate and channel order.
Planar blocks contain one plane per channel; packed blocks contain one interleaved plane. Planes contain only sample bytes, never decoder padding. Channel identities use canonical speaker abbreviations (FL, FR, FC, LFE, BL, BR, SL, SR, etc.), AMBI followed by the ACN component number, or NONE (unspecified), UNK (unknown) or USR identifiers. BL/BR and SL/SR are distinct. Unspecified, unknown and ambisonic channels must never be guessed by a device adapter. The Display owns conversion, reordering and device negotiation.
|
default |
Construct an empty block.
|
default |
Copy samples.
| other | Source. |
|
defaultnoexcept |
Move samples.
| other | Source. |
|
defaultnoexcept |
Release samples.
|
default |
Copy samples.
| other | Source. |
|
defaultnoexcept |
Move samples.
| other | Source. |
| Safe::Vector<Safe::String> StormByte::Multimedia::PreviewAudio::m_channels |
Identities in decoded sample order; size is channel count.
| std::uint64_t StormByte::Multimedia::PreviewAudio::m_epoch = 0 |
Delivery generation.
| AudioSample StormByte::Multimedia::PreviewAudio::m_format = AudioSample::Unsigned8 |
Actual decoded sample representation.
| std::uint32_t StormByte::Multimedia::PreviewAudio::m_frames = 0 |
Samples per channel.
| AudioLayout StormByte::Multimedia::PreviewAudio::m_layout = AudioLayout::Unspecified |
Channel identity interpretation.
| bool StormByte::Multimedia::PreviewAudio::m_planar = false |
Separate channel planes rather than packed samples.
| Safe::Vector<Safe::Binary> StormByte::Multimedia::PreviewAudio::m_planes |
Exact owned sample planes.
| double StormByte::Multimedia::PreviewAudio::m_position = 0 |
First sample presentation time in media seconds.
| std::uint32_t StormByte::Multimedia::PreviewAudio::m_rate = 0 |
Actual decoded samples per second per channel.