Class Layout¶
Defined in File layout.hpp
Class Documentation¶
-
class ear::Layout¶
Representation of a loudspeaker layout, with a name and a list of channels.
Public Functions
-
Layout(std::string name = "", std::vector<Channel> channels = std::vector<Channel>(), boost::optional<Screen> screen = getDefaultScreen())¶
-
std::string name() const¶
-
void name(std::string name)¶
-
std::vector<bool> isLfe() const¶
-
std::vector<std::string> channelNames() const¶
-
void checkPositions(std::function<void(const std::string&)> callback) const¶
-
boost::optional<int> indexForName(const std::string &name) const¶
-
std::vector<PolarPosition> positions() const¶
-
std::vector<PolarPosition> nominalPositions() const¶
-
Layout(std::string name = "", std::vector<Channel> channels = std::vector<Channel>(), boost::optional<Screen> screen = getDefaultScreen())¶