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:
Carl Hetherington 2011-02-06 18:51:35 +00:00
parent 674ed2430c
commit f0177337d1

View file

@ -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;