void midibus::set_input (bool inputing) { if (m_inputing != inputing) { m_inputing = inputing; if (inputing) init_in(); else deinit_in(); } }
void midibus::set_input( bool a_inputing ) { if ( m_inputing != a_inputing ){ m_inputing = a_inputing; if (m_inputing){ init_in(); } else { deinit_in(); } } }