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