test/tvlc.cc
/// Verify src is being played for maxCycles (each 2 seconds)
///
Verify src is being played for maxCycles (each 2 seconds)
Verify src is being played for maxCycles ( each 2 seconds )
void monitor_play( spPlayer vlcp, spSource src, unsigned maxCycles )
{
    for (unsigned i=0; i<maxCycles; i++ ) {
        sleep(2);
        if (not vlcp->currently_playing( src )) {
            LOG_WARNING(Lgr) << "Not playing " << src->name();
        }
    }
}
void monitor_play ( spPlayer vlcp , spSource src , unsigned maxCycles ) { for ( unsigned i = 0 ; i < maxCycles ; i ++ ) { sleep ( 2 ) ; if ( not vlcp -> currently_playing ( src ) ) { LOG_WARNING ( Lgr ) << " " << src -> name ( ) ; } } }
Verify src is being played for maxCycles (each 2 seconds)
Verify src is being played for maxCycles ( each 2 seconds )