Example #1
0
void
midibus::set_input (bool inputing)
{
    if (m_inputing != inputing)
    {
        m_inputing = inputing;
        if (inputing)
            init_in();
        else
            deinit_in();
    }
}
Example #2
0
void 
midibus::set_input( bool a_inputing )
{
    if ( m_inputing != a_inputing ){

        m_inputing = a_inputing;

        if (m_inputing){
            init_in();
        }
        else
        {
            deinit_in();
        }
    }    
}