Logo Search packages:      
Sourcecode: pulseaudio version File versions

const pa_channel_map* pa_stream_get_channel_map ( pa_stream s  ) 

Return a pointer to the stream's channel map.

Definition at line 2276 of file stream.c.

References PA_ERR_FORKED.

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

    PA_CHECK_VALIDITY_RETURN_NULL(s->context, !pa_detect_fork(), PA_ERR_FORKED);

    return &s->channel_map;
}


Generated by  Doxygen 1.6.0   Back to index