13
0

Update Plugin API, extend IOPortDescription c'tor

This commit is contained in:
Robin Gareus 2020-09-07 18:47:45 +02:00
parent 1a50b6b8ea
commit e9c90bc1b2
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -123,11 +123,11 @@ public:
struct LIBARDOUR_API IOPortDescription {
public:
IOPortDescription (const std::string& n)
IOPortDescription (const std::string& n, bool sc = false, std::string gn = "", uint32_t gc = 0)
: name (n)
, is_sidechain (false)
, group_name (n)
, group_channel (0)
, is_sidechain (sc)
, group_name (gn.empty () ? n : gn)
, group_channel (gc)
{ }
IOPortDescription (const IOPortDescription& other)