Unsupported signals do not throw exceptions anymore
This commit is contained in:
parent
a34c6bcf35
commit
49195c1553
1 changed files with 2 additions and 1 deletions
|
|
@ -292,7 +292,8 @@ void Device::run_signal(char* buff)
|
||||||
type='p';
|
type='p';
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
throw std::runtime_error("Unknown MIDI signal:\n" + std::string(buff));
|
// throw std::runtime_error("Unknown MIDI signal:\n" + std::string(buff));
|
||||||
|
printf("Unsupported signal, ignoring\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue