pa_stream_get_device_index

Return the index of the sink or source this stream is connected to * in the server. This is useful with the introspection * functions such as pa_context_get_sink_info_by_index() or * pa_context_get_source_info_by_index(). * * Please note that streams may be moved between sinks/sources and thus * it is recommended to use pa_stream_set_moved_callback() to be notified * about this. This function will return with PA_INVALID_INDEX on failure, * including the being server older than 0.9.8. \since 0.9.8

extern (C)
uint
pa_stream_get_device_index
(
const(pa_stream)* s
)

Meta