mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
Fix up a few mackie control surface exceptions.
git-svn-id: svn://localhost/ardour2/branches/3.0@8729 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
674ed2430c
commit
f0177337d1
1 changed files with 4 additions and 4 deletions
|
|
@ -335,7 +335,7 @@ Control & MackiePort::lookup_control( MIDI::byte * bytes, size_t count )
|
|||
{
|
||||
MidiByteArray mba( count, bytes );
|
||||
ostringstream os;
|
||||
os << "control for fader" << bytes << " id " << midi_id << " is null";
|
||||
os << "Control for fader" << bytes << " id " << midi_id << " is null";
|
||||
throw MackieControlException( os.str() );
|
||||
}
|
||||
break;
|
||||
|
|
@ -348,7 +348,7 @@ Control & MackiePort::lookup_control( MIDI::byte * bytes, size_t count )
|
|||
{
|
||||
MidiByteArray mba( count, bytes );
|
||||
ostringstream os;
|
||||
os << "control for button " << bytes << " is null";
|
||||
os << "Control for button " << mba << " is null";
|
||||
throw MackieControlException( os.str() );
|
||||
}
|
||||
break;
|
||||
|
|
@ -360,7 +360,7 @@ Control & MackiePort::lookup_control( MIDI::byte * bytes, size_t count )
|
|||
{
|
||||
MidiByteArray mba( count, bytes );
|
||||
ostringstream os;
|
||||
os << "control for rotary " << mba << " is null";
|
||||
os << "Control for rotary " << mba << " is null";
|
||||
throw MackieControlException( os.str() );
|
||||
}
|
||||
break;
|
||||
|
|
@ -368,7 +368,7 @@ Control & MackiePort::lookup_control( MIDI::byte * bytes, size_t count )
|
|||
default:
|
||||
MidiByteArray mba( count, bytes );
|
||||
ostringstream os;
|
||||
os << "Cannot find control for " << bytes;
|
||||
os << "Cannot find control for " << mba;
|
||||
throw MackieControlException( os.str() );
|
||||
}
|
||||
return *control;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue