rsked/source.cc
/// If argument is true, the Source failed to play for some reason.
/// Method notes the current time and sets the failedp flag to true.
/// If the argument is false, *clear* the failedp flag if it had been
/// set.
///
If argument is true, the Source failed to play for some reason.
Method notes the current time and sets the failedp flag to true.
If the argument is false, *clear* the failedp flag if it had been
set.
If argument is true the Source failed to play for some reason . Method notes the current time and sets the failedp flag to true . If the argument is false * clear * the failedp flag if it had been set .
void Source::mark_failed(bool fp)
{
    if (fp) {
        m_failedp = true;
        m_last_fail = time(0);
        LOG_WARNING(Lgr) << "Source {" << m_name
                         << "} being marked as faulty";
    } else {
        if (m_failedp) {
            LOG_WARNING(Lgr) << "Faulty flag cleared for Source {" << m_name
                          << "}";
            m_failedp = false;
        }
    }
}
void Source :: mark_failed ( bool fp ) { if ( fp ) { m_failedp = true ; m_last_fail = time ( 0 ) ; LOG_WARNING ( Lgr ) << " " << m_name << " " ; } else { if ( m_failedp ) { LOG_WARNING ( Lgr ) << " " << m_name << " " ; m_failedp = false ; } } }
If argument is true, the Source failed to play for some reason.
If argument is true the Source failed to play for some reason .