Logo Search packages:      
Sourcecode: pulseaudio version File versions

uint32_t pa_stream_get_monitor_stream ( pa_stream s  ) 

Return what has been set with pa_stream_set_monitor_stream() ebfore.

Since:
0.9.11

Definition at line 2303 of file stream.c.

References PA_ERR_BADSTATE, PA_ERR_NOTSUPPORTED, and PA_INVALID_INDEX.

                                                    {
    pa_assert(s);
    pa_assert(PA_REFCNT_VALUE(s) >= 1);

    PA_CHECK_VALIDITY_RETURN_ANY(s->context, s->direct_on_input != PA_INVALID_INDEX, PA_ERR_BADSTATE, PA_INVALID_INDEX);
    PA_CHECK_VALIDITY_RETURN_ANY(s->context, s->context->version >= 13, PA_ERR_NOTSUPPORTED, PA_INVALID_INDEX);

    return s->direct_on_input;
}


Generated by  Doxygen 1.6.0   Back to index