Do not constrain bundle names to 32 chars
This commit is contained in:
parent
c8671b5747
commit
31cf2dfa1b
|
@ -1472,8 +1472,6 @@ IO::midi(uint32_t n) const
|
||||||
void
|
void
|
||||||
IO::setup_bundle ()
|
IO::setup_bundle ()
|
||||||
{
|
{
|
||||||
char buf[32];
|
|
||||||
|
|
||||||
if (!_bundle) {
|
if (!_bundle) {
|
||||||
_bundle.reset (new Bundle (_direction == Input));
|
_bundle.reset (new Bundle (_direction == Input));
|
||||||
}
|
}
|
||||||
|
@ -1482,12 +1480,7 @@ IO::setup_bundle ()
|
||||||
|
|
||||||
_bundle->remove_channels ();
|
_bundle->remove_channels ();
|
||||||
|
|
||||||
if (_direction == Input) {
|
_bundle->set_name (string_compose ("%1 %2", _name, _direction == Input ? _("in") : _("out")));
|
||||||
snprintf(buf, sizeof (buf), _("%s in"), _name.val().c_str());
|
|
||||||
} else {
|
|
||||||
snprintf(buf, sizeof (buf), _("%s out"), _name.val().c_str());
|
|
||||||
}
|
|
||||||
_bundle->set_name (buf);
|
|
||||||
|
|
||||||
int c = 0;
|
int c = 0;
|
||||||
for (DataType::iterator i = DataType::begin(); i != DataType::end(); ++i) {
|
for (DataType::iterator i = DataType::begin(); i != DataType::end(); ++i) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user