示例#1
0
void
midibus::set_input (bool inputing)
{
    if (m_inputing != inputing)
    {
        m_inputing = inputing;
        if (inputing)
            init_in();
        else
            deinit_in();
    }
}
示例#2
0
文件: midibus.cpp 项目: vext01/seq24
void 
midibus::set_input( bool a_inputing )
{
    if ( m_inputing != a_inputing ){

        m_inputing = a_inputing;

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