rsked/vlcplayer.cc
/// This will make sure the child VLC process is started and
/// responsive.  Sets m_usable according to the result.
//
/// * May THROW a Player_exception or CM_exception.
///
This will make sure the child VLC process is started and
responsive.  Sets m_usable according to the result.


This will make sure the child VLC process is started and responsive . Sets m_usable according to the result .
void Vlc_player::assure_running()
{
    if (not m_cm->running()) {
        try_start();
    }
    m_usable= check_status();
    if (!m_usable) {
        throw Player_comm_exception();
    }
}
void Vlc_player :: assure_running ( ) { if ( not m_cm -> running ( ) ) { try_start ( ) ; } m_usable = check_status ( ) ; if ( ! m_usable ) { throw Player_comm_exception ( ) ; } }
This will make sure the child VLC process is started and
responsive.
This will make sure the child VLC process is started and responsive .