Named channel layout — maps channel indices to speaker positions. More...
#include <channel_set.hpp>
Public Member Functions | |
| uint32_t | size () const |
| bool | operator== (const ChannelSet &other) const |
Static Public Member Functions | |
| static ChannelSet | mono () |
| static ChannelSet | stereo () |
| static ChannelSet | lrc () |
| static ChannelSet | quad () |
| static ChannelSet | surround_5_0 () |
| static ChannelSet | surround_5_1 () |
| static ChannelSet | surround_7_1 () |
| static ChannelSet | surround_7_1_4 () |
| static ChannelSet | discrete (uint32_t num_channels) |
| Create a discrete (unnamed) channel set with N channels. | |
| static ChannelSet | from_channel_count (uint32_t count) |
| Get a standard layout by channel count (best guess). | |
| static ChannelSet | from_name (std::string_view name) |
| Get a standard layout by name. | |
Public Attributes | |
| std::string | name |
| std::vector< Speaker > | speakers |
Named channel layout — maps channel indices to speaker positions.
|
inlinestatic |
Create a discrete (unnamed) channel set with N channels.
|
inlinestatic |
Get a standard layout by channel count (best guess).
|
static |
Get a standard layout by name.
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inlinestatic |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
| std::string pulp::audio::ChannelSet::name |
| std::vector<Speaker> pulp::audio::ChannelSet::speakers |