what one sample frame looks like, container and content apart: the resolution inside the container's size, its alignment there and its endianness. operator == is a match against a wish, not an identity: a member left at zero in the asked format matches anything, which is how a pin states audio alone and a ring adopts the one format its participants agree on (dx::stream::format::align). The named constants below are the formats the converters of dx_circular.h move - dx::stream::sample keys them.
More...
#include <dx_stream.h>
what one sample frame looks like, container and content apart: the resolution inside the container's size, its alignment there and its endianness. operator == is a match against a wish, not an identity: a member left at zero in the asked format matches anything, which is how a pin states audio alone and a ring adopts the one format its participants agree on (dx::stream::format::align). The named constants below are the formats the converters of dx_circular.h move - dx::stream::sample keys them.
◆ alignment
◆ endian
◆ midi
◆ align()
| const format & dx::stream::format::align |
( |
const format & | format | ) |
const |
|
inline |
aligns a requested format to what a ring adopts when its participants disagree: the wider container, float over int at equal width
◆ alignments()
| named dx::stream::format::alignments |
( |
| ) |
const |
|
inline |
◆ endians()
| named dx::stream::format::endians |
( |
| ) |
const |
|
inline |
◆ midis()
| named dx::stream::format::midis |
( |
| ) |
const |
|
inline |
what the format allows each member as it stands: the resolutions its size and encoding carry, the encodings its resolution and size admit, the sizes that hold its resolution, congruous where the size is the resolution's or which end it sits at
◆ operator<()
| bool dx::stream::format::operator< |
( |
const format & | format | ) |
const |
|
inline |
◆ operator==()
| bool dx::stream::format::operator== |
( |
const format & | format | ) |
const |
|
inline |
◆ reals()
| named dx::stream::format::reals |
( |
| ) |
const |
|
inline |
◆ resolutions()
| named dx::stream::format::resolutions |
( |
| ) |
const |
|
inline |
◆ sizes()
| named dx::stream::format::sizes |
( |
| ) |
const |
|
inline |
◆ alignment
◆ audio
| bool dx::stream::format::audio |
◆ endian
◆ midi
the MIDI 1.0 byte stream, or Universal MIDI Packets: whole 32 bit words, the group inside the word
◆ real
| bool dx::stream::format::real |
encoded in floating point
◆ resolution
| uint8_t dx::stream::format::resolution |
◆ size
sample frame size in bytes
The documentation for this struct was generated from the following file: