Lines Matching refs:PA_INVALID_INDEX
133 s->direct_on_input = PA_INVALID_INDEX; in pa_stream_new_with_proplist_internal()
142 s->stream_index = PA_INVALID_INDEX; in pa_stream_new_with_proplist_internal()
168 s->device_index = PA_INVALID_INDEX; in pa_stream_new_with_proplist_internal()
352 PA_CHECK_VALIDITY_RETURN_ANY(s->context, !pa_detect_fork(), PA_ERR_FORKED, PA_INVALID_INDEX); in pa_stream_get_index()
353 …CK_VALIDITY_RETURN_ANY(s->context, s->state == PA_STREAM_READY, PA_ERR_BADSTATE, PA_INVALID_INDEX); in pa_stream_get_index()
551 if (!dn || di == PA_INVALID_INDEX) { in pa_command_stream_moved()
1061 s->channel == PA_INVALID_INDEX || in pa_create_stream_callback()
1062 …PLOAD) && (pa_tagstruct_getu32(t, &s->stream_index) < 0 || s->stream_index == PA_INVALID_INDEX)) || in pa_create_stream_callback()
1103 if (!dn || s->device_index == PA_INVALID_INDEX || in pa_create_stream_callback()
1203 …PA_CHECK_VALIDITY(s->context, s->direct_on_input == PA_INVALID_INDEX || direction == PA_STREAM_REC… in create_stream()
1282 PA_TAG_U32, PA_INVALID_INDEX, in create_stream()
2721 PA_CHECK_VALIDITY_RETURN_ANY(s->context, !pa_detect_fork(), PA_ERR_FORKED, PA_INVALID_INDEX); in pa_stream_get_device_index()
2722 …CK_VALIDITY_RETURN_ANY(s->context, s->state == PA_STREAM_READY, PA_ERR_BADSTATE, PA_INVALID_INDEX); in pa_stream_get_device_index()
2723 …LIDITY_RETURN_ANY(s->context, s->direction != PA_STREAM_UPLOAD, PA_ERR_BADSTATE, PA_INVALID_INDEX); in pa_stream_get_device_index()
2724 …_VALIDITY_RETURN_ANY(s->context, s->context->version >= 12, PA_ERR_NOTSUPPORTED, PA_INVALID_INDEX); in pa_stream_get_device_index()
2725 …VALIDITY_RETURN_ANY(s->context, s->device_index != PA_INVALID_INDEX, PA_ERR_BADSTATE, PA_INVALID_I… in pa_stream_get_device_index()
2909 PA_CHECK_VALIDITY(s->context, sink_input_idx != PA_INVALID_INDEX, PA_ERR_INVALID); in pa_stream_set_monitor_stream()
2922 PA_CHECK_VALIDITY_RETURN_ANY(s->context, !pa_detect_fork(), PA_ERR_FORKED, PA_INVALID_INDEX); in pa_stream_get_monitor_stream()
2923 …IDITY_RETURN_ANY(s->context, s->direct_on_input != PA_INVALID_INDEX, PA_ERR_BADSTATE, PA_INVALID_I… in pa_stream_get_monitor_stream()
2924 …_VALIDITY_RETURN_ANY(s->context, s->context->version >= 13, PA_ERR_NOTSUPPORTED, PA_INVALID_INDEX); in pa_stream_get_monitor_stream()