vumonitor/vumonitor.cc
/// If the stream becomes ready then update the timing info.
///
If the stream becomes ready then update the timing info.
If the stream becomes ready then update the timing info .
void VU_monitor::stream_state( pa_stream *s )
{
    pa_operation *op { nullptr };
    switch (pa_stream_get_state(s)) {
    case PA_STREAM_READY:
        op = pa_stream_update_timing_info(m_stream, strt_cb, this);
        pa_operation_unref( op );
        break;
    case PA_STREAM_FAILED:
        LOG_ERROR(Lgr)  << "PA Stream failure";  
        break;
    case PA_STREAM_TERMINATED:
        terminate();
        break;
    default:                    
        break;
    }
}
void VU_monitor :: stream_state ( pa_stream * s ) { pa_operation * op { nullptr } ; switch ( pa_stream_get_state ( s ) ) { case PA_STREAM_READY : op = pa_stream_update_timing_info ( m_stream , strt_cb , this ) ; pa_operation_unref ( op ) ; break ; case PA_STREAM_FAILED : LOG_ERROR ( Lgr ) << " " ; break ; case PA_STREAM_TERMINATED : terminate ( ) ; break ; default : break ; } }
If the stream becomes ready then update the timing info.
If the stream becomes ready then update the timing info .
// ugh--how to respond? // CREATING, UNCONNECTED, ...