audioTypes.h
Go to the documentation of this file.
91 Port(std::string c = "user", std::string n = "", PortType t = dpyAudio::NA_TYPE) : client(c), name(n), type(t)
friend bool operator==(const Port &lhs, const Port &rhs)
Overload of == operator used for Port struct.
Definition: audioTypes.h:110
PortType
Enumeration defining the different kinds of ports.
Definition: audioTypes.h:21
const int DEF_CONNECTION_VOLUME
Default value for connection volume if not defined.
Definition: audioConfig.h:19
std::string id
Unique id used to identify a connection.
Definition: audioTypes.h:132
std::string client
Client name, "user" will be the default one for user-created ports.
Definition: audioTypes.h:81
Port originPort
Origin port (generally a input port)
Definition: audioTypes.h:133
Port(std::string c="user", std::string n="", PortType t=dpyAudio::NA_TYPE)
Port constructor with parameters.
Definition: audioTypes.h:91
Port destinationPort
Destination port (generally a output port)
Definition: audioTypes.h:134
std::string getPortFullName() const
Used to obtain port full name , which will be used for different operations.
Definition: audioTypes.h:99
Deepsy Audio namespace that includes the different enums, structs or method signatures that should be...
TaskType
Enumeration defining the different type of audio tasks.
Definition: audioTypes.h:69
bool operator<(const Port &rhs) const
Overload < operator to use a Port object as a key in a std::map.
Definition: audioTypes.h:120
std::list< std::string > blockedBy
list of connections id's that block the current connection (orderer by priority)
Definition: audioTypes.h:137
bool isActive
Specify if the connection is currently active.
Definition: audioTypes.h:135
Struct defining an assignment between a port and a gpio.
Definition: audioTypes.h:145
int priority
priority for the connection higher is moire priority
Definition: audioTypes.h:136
boost::function< void(const PortEventType &event, const Port &port)> PortEventFunction
Port event handler function.
Definition: audioTypes.h:151
const int DEF_CONNECTION_GAIN
Default value for connection gain if not defined.
Definition: audioConfig.h:23