/third_party/pulseaudio/src/modules/ |
D | module-always-sink.c | 62 if (u->null_module != PA_INVALID_INDEX) in load_null_sink_if_needed() 82 u->null_module = m ? m->index : PA_INVALID_INDEX; in load_null_sink_if_needed() 107 if (u->null_module == PA_INVALID_INDEX) in put_hook_callback() 121 u->null_module = PA_INVALID_INDEX; in put_hook_callback() 134 … if (u->null_module != PA_INVALID_INDEX && sink->module && sink->module->index == u->null_module) { in unlink_hook_callback() 136 u->null_module = PA_INVALID_INDEX; in unlink_hook_callback() 164 u->null_module = PA_INVALID_INDEX; in pa__init() 182 if (u->null_module != PA_INVALID_INDEX && m->core->state != PA_CORE_SHUTDOWN) in pa__done()
|
D | module-always-source.c | 63 if (u->null_module != PA_INVALID_INDEX) in load_null_source_if_needed() 82 u->null_module = m ? m->index : PA_INVALID_INDEX; in load_null_source_if_needed() 107 if (u->null_module == PA_INVALID_INDEX) in put_hook_callback() 121 u->null_module = PA_INVALID_INDEX; in put_hook_callback() 134 …if (u->null_module != PA_INVALID_INDEX && source->module && source->module->index == u->null_modul… in unlink_hook_callback() 136 u->null_module = PA_INVALID_INDEX; in unlink_hook_callback() 164 u->null_module = PA_INVALID_INDEX; in pa__init() 182 if (u->null_module != PA_INVALID_INDEX && m->core->state != PA_CORE_SHUTDOWN) in pa__done()
|
D | module-combine.c | 50 u->module_index = module ? module->index : PA_INVALID_INDEX; in pa__init() 63 if (u && PA_INVALID_INDEX != u->module_index) in pa__done()
|
D | stdin-util.c | 97 if (m->items[i].index == PA_INVALID_INDEX) in unload_one_module() 102 m->items[i].index = PA_INVALID_INDEX; in unload_one_module() 136 if (m->items[i].index != PA_INVALID_INDEX && in load_module() 148 m->items[i].index = PA_INVALID_INDEX; in load_module()
|
D | module-device-manager.c | 367 …if (PA_INVALID_INDEX != u->preferred_sinks[role_index] && (s = pa_idxset_get_by_index(u->core->sin… in dump_database_helper() 373 …if (PA_INVALID_INDEX != u->preferred_sources[role_index] && (s = pa_idxset_get_by_index(u->core->s… in dump_database_helper() 554 return PA_INVALID_INDEX; in get_role_index() 573 (*indexes)[i] = PA_INVALID_INDEX; in update_highest_priority_device_indexes() 682 if (PA_INVALID_INDEX == role_index) in route_sink_input() 686 if (PA_INVALID_INDEX == device_index) in route_sink_input() 757 if (PA_INVALID_INDEX == role_index) in route_source_output() 761 if (PA_INVALID_INDEX == device_index) in route_source_output() 991 if (PA_INVALID_INDEX != role_index) { in sink_input_new_hook_callback() 995 if (PA_INVALID_INDEX != device_index) { in sink_input_new_hook_callback() [all …]
|
D | module-udev-detect.c | 299 if (d->module == PA_INVALID_INDEX) { in verify_access() 396 d->module = PA_INVALID_INDEX; in card_changed() 451 if (d->module != PA_INVALID_INDEX) in remove_card()
|
D | module-tunnel.c | 1397 pa_tagstruct_putu32(t, PA_INVALID_INDEX); in request_info() 1407 pa_tagstruct_putu32(t, PA_INVALID_INDEX); in request_info() 1677 pa_tagstruct_putu32(reply, PA_INVALID_INDEX); in setup_complete_callback() 1696 pa_tagstruct_putu32(reply, PA_INVALID_INDEX); in setup_complete_callback() 1726 pa_tagstruct_putu32(reply, PA_INVALID_INDEX); /* direct on input */ in setup_complete_callback() 1977 u->device_index = u->channel = PA_INVALID_INDEX; in pa__init()
|
D | module-device-restore.c | 139 if (sink_idx != PA_INVALID_INDEX) { in trigger_save() 290 trigger_save(u, PA_DEVICE_TYPE_SINK, PA_INVALID_INDEX); in entry_read()
|
/third_party/pulseaudio/src/pulse/ |
D | ext-device-restore.c | 50 uint32_t version = PA_INVALID_INDEX; in ext_device_restore_test_cb() 99 pa_tagstruct_putu32(t, PA_INVALID_INDEX); in pa_ext_device_restore_test() 128 pa_tagstruct_putu32(t, PA_INVALID_INDEX); in pa_ext_device_restore_subscribe() 189 if (i.index == PA_INVALID_INDEX) { in ext_device_restore_read_device_formats_cb() 252 pa_tagstruct_putu32(t, PA_INVALID_INDEX); in pa_ext_device_restore_read_formats_all() 274 pa_assert(idx != PA_INVALID_INDEX); in pa_ext_device_restore_read_formats() 283 pa_tagstruct_putu32(t, PA_INVALID_INDEX); in pa_ext_device_restore_read_formats() 310 pa_assert(idx != PA_INVALID_INDEX); in pa_ext_device_restore_save_formats() 321 pa_tagstruct_putu32(t, PA_INVALID_INDEX); in pa_ext_device_restore_save_formats() 366 if (idx == PA_INVALID_INDEX) { in pa_ext_device_restore_command()
|
D | ext-device-manager.c | 49 uint32_t version = PA_INVALID_INDEX; in ext_device_manager_test_cb() 98 pa_tagstruct_putu32(t, PA_INVALID_INDEX); in pa_ext_device_manager_test() 198 pa_tagstruct_putu32(t, PA_INVALID_INDEX); in pa_ext_device_manager_read() 231 pa_tagstruct_putu32(t, PA_INVALID_INDEX); in pa_ext_device_manager_set_device_description() 266 pa_tagstruct_putu32(t, PA_INVALID_INDEX); in pa_ext_device_manager_delete() 315 pa_tagstruct_putu32(t, PA_INVALID_INDEX); in pa_ext_device_manager_enable_role_device_priority_routing() 350 pa_tagstruct_putu32(t, PA_INVALID_INDEX); in pa_ext_device_manager_reorder_devices_for_role() 388 pa_tagstruct_putu32(t, PA_INVALID_INDEX); in pa_ext_device_manager_subscribe()
|
D | introspect.c | 171 i.card = PA_INVALID_INDEX; in context_get_sink_info_callback() 356 pa_tagstruct_putu32(t, PA_INVALID_INDEX); in pa_context_get_sink_info_by_name() 374 PA_CHECK_VALIDITY_RETURN_NULL(c, idx != PA_INVALID_INDEX, PA_ERR_INVALID); in pa_context_set_sink_port_by_index() 405 pa_tagstruct_putu32(t, PA_INVALID_INDEX); in pa_context_set_sink_port_by_name() 451 i.card = PA_INVALID_INDEX; in context_get_source_info_callback() 635 pa_tagstruct_putu32(t, PA_INVALID_INDEX); in pa_context_get_source_info_by_name() 653 PA_CHECK_VALIDITY_RETURN_NULL(c, idx != PA_INVALID_INDEX, PA_ERR_INVALID); in pa_context_set_source_port_by_index() 684 pa_tagstruct_putu32(t, PA_INVALID_INDEX); in pa_context_set_source_port_by_name() 760 PA_CHECK_VALIDITY_RETURN_NULL(c, idx != PA_INVALID_INDEX, PA_ERR_INVALID); in pa_context_get_client_info() 1024 PA_CHECK_VALIDITY_RETURN_NULL(c, idx != PA_INVALID_INDEX, PA_ERR_INVALID); in pa_context_get_card_info_by_index() [all …]
|
D | ext-stream-restore.c | 45 uint32_t version = PA_INVALID_INDEX; in ext_stream_restore_test_cb() 94 pa_tagstruct_putu32(t, PA_INVALID_INDEX); in pa_ext_stream_restore_test() 175 pa_tagstruct_putu32(t, PA_INVALID_INDEX); in pa_ext_stream_restore_read() 209 pa_tagstruct_putu32(t, PA_INVALID_INDEX); in pa_ext_stream_restore_write() 269 pa_tagstruct_putu32(t, PA_INVALID_INDEX); in pa_ext_stream_restore_delete() 315 pa_tagstruct_putu32(t, PA_INVALID_INDEX); in pa_ext_stream_restore_subscribe()
|
D | scache.c | 105 uint32_t idx = PA_INVALID_INDEX; in play_sample_ack_callback() 123 } else if (o->context->version >= 13 && idx == PA_INVALID_INDEX) in play_sample_ack_callback() 151 idx = PA_INVALID_INDEX; in play_sample_with_proplist_ack_callback() 187 pa_tagstruct_putu32(t, PA_INVALID_INDEX); in pa_context_play_sample() 228 pa_tagstruct_putu32(t, PA_INVALID_INDEX); in pa_context_play_sample_with_proplist()
|
D | stream.c | 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() [all …]
|
D | context.c | 156 c->client_index = PA_INVALID_INDEX; in pa_context_new_with_proplist() 585 c->client_index == PA_INVALID_INDEX)) || in setup_complete_callback() 1346 PA_CHECK_VALIDITY_RETURN_ANY(c, !pa_detect_fork(), PA_ERR_FORKED, PA_INVALID_INDEX); 1347 … PA_CHECK_VALIDITY_RETURN_ANY(c, PA_CONTEXT_IS_GOOD(c->state), PA_ERR_BADSTATE, PA_INVALID_INDEX); 1369 PA_CHECK_VALIDITY_RETURN_ANY(c, !pa_detect_fork(), PA_ERR_FORKED, PA_INVALID_INDEX); 1370 … PA_CHECK_VALIDITY_RETURN_ANY(c, c->state == PA_CONTEXT_READY, PA_ERR_BADSTATE, PA_INVALID_INDEX); 1371 PA_CHECK_VALIDITY_RETURN_ANY(c, c->version >= 13, PA_ERR_NOTSUPPORTED, PA_INVALID_INDEX);
|
D | def.h | 112 #define PA_INVALID_INDEX ((uint32_t) -1) macro
|
/third_party/pulseaudio/src/modules/bluetooth/ |
D | module-bluetooth-discover.c | 48 u->bluez5_module_idx = PA_INVALID_INDEX; in pa__init() 56 if (u->bluez5_module_idx == PA_INVALID_INDEX) { in pa__init() 72 if (u->bluez5_module_idx != PA_INVALID_INDEX) in pa__done()
|
/third_party/pulseaudio/src/utils/ |
D | pasuspender.c | 130 …pa_operation_unref(pa_context_suspend_sink_by_index(context, PA_INVALID_INDEX, 0, resume_complete,… in resume() 131 …pa_operation_unref(pa_context_suspend_source_by_index(context, PA_INVALID_INDEX, 0, resume_complet… in resume() 167 …pa_operation_unref(pa_context_suspend_sink_by_index(c, PA_INVALID_INDEX, 1, suspend_complete, NULL… in context_state_callback() 168 …pa_operation_unref(pa_context_suspend_source_by_index(c, PA_INVALID_INDEX, 1, suspend_complete, NU… in context_state_callback()
|
D | pactl.c | 62 sink_input_idx = PA_INVALID_INDEX, 63 source_output_idx = PA_INVALID_INDEX, 64 sink_idx = PA_INVALID_INDEX; 529 i->n_used != PA_INVALID_INDEX ? t : _("n/a"), in get_module_info_callback() 572 i->owner_module != PA_INVALID_INDEX ? t : _("n/a"), in get_client_info_callback() 614 i->owner_module != PA_INVALID_INDEX ? t : _("n/a"), in get_card_info_callback() 689 i->client != PA_INVALID_INDEX ? k : "-", in get_sink_input_info_callback() 713 i->owner_module != PA_INVALID_INDEX ? t : _("n/a"), in get_sink_input_info_callback() 714 i->client != PA_INVALID_INDEX ? k : _("n/a"), in get_sink_input_info_callback() 759 i->client != PA_INVALID_INDEX ? k : "-", in get_source_output_info_callback() [all …]
|
D | pacat.c | 114 static uint32_t monitor_stream = PA_INVALID_INDEX; 496 …if (monitor_stream != PA_INVALID_INDEX && (pa_stream_set_monitor_stream(stream, monitor_stream) < … in context_state_callback()
|
/third_party/pulseaudio/src/pulsecore/ |
D | protocol-native.c | 1925 …CHECK_VALIDITY_GOTO(c->pstream, sink_index == PA_INVALID_INDEX || !sink_name, tag, PA_ERR_INVALID,… in command_create_playback_stream() 1926 …CHECK_VALIDITY_GOTO(c->pstream, !sink_name || sink_index == PA_INVALID_INDEX, tag, PA_ERR_INVALID,… in command_create_playback_stream() 2034 if (sink_index != PA_INVALID_INDEX) { in command_create_playback_stream() 2219 uint32_t direct_on_input_idx = PA_INVALID_INDEX; in command_create_record_stream() 2247 …CHECK_VALIDITY_GOTO(c->pstream, source_index == PA_INVALID_INDEX || !source_name, tag, PA_ERR_INVA… in command_create_record_stream() 2248 …CHECK_VALIDITY_GOTO(c->pstream, !source_name || source_index == PA_INVALID_INDEX, tag, PA_ERR_INVA… in command_create_record_stream() 2353 if (source_index != PA_INVALID_INDEX) { in command_create_record_stream() 2368 if (direct_on_input_idx != PA_INVALID_INDEX) { in command_create_record_stream() 3072 CHECK_VALIDITY(c->pstream, sink_index == PA_INVALID_INDEX || !sink_name, tag, PA_ERR_INVALID); in command_play_sample() 3073 CHECK_VALIDITY(c->pstream, !sink_name || sink_index == PA_INVALID_INDEX, tag, PA_ERR_INVALID); in command_play_sample() [all …]
|
D | core.c | 244 …cription_post(core, PA_SUBSCRIPTION_EVENT_SERVER | PA_SUBSCRIPTION_EVENT_CHANGE, PA_INVALID_INDEX); in pa_core_set_configured_default_sink() 266 …cription_post(core, PA_SUBSCRIPTION_EVENT_SERVER | PA_SUBSCRIPTION_EVENT_CHANGE, PA_INVALID_INDEX); in pa_core_set_configured_default_source() 347 …cription_post(core, PA_SUBSCRIPTION_EVENT_SERVER | PA_SUBSCRIPTION_EVENT_CHANGE, PA_INVALID_INDEX); in pa_core_update_default_sink() 432 …cription_post(core, PA_SUBSCRIPTION_EVENT_SERVER | PA_SUBSCRIPTION_EVENT_CHANGE, PA_INVALID_INDEX); in pa_core_update_default_source()
|
/third_party/pulseaudio/src/tests/ |
D | passthrough-test.c | 49 static uint32_t module_idx = PA_INVALID_INDEX; 87 fail_unless(idx != PA_INVALID_INDEX); in module_index_cb() 105 if (module_idx != PA_INVALID_INDEX) { in passthrough_teardown()
|
/third_party/gstreamer/gstplugins_good/ext/pulse/ |
D | pulsesrc.c | 216 "record stream", 0, G_MAXUINT, PA_INVALID_INDEX, in gst_pulsesrc_class_init() 262 pulsesrc->source_output_idx = PA_INVALID_INDEX; in gst_pulsesrc_init() 305 pulsesrc->source_output_idx = PA_INVALID_INDEX; in gst_pulsesrc_destroy_stream() 478 if (pulsesrc->source_output_idx == PA_INVALID_INDEX) in gst_pulsesrc_get_source_output_info() 568 if (pulsesrc->source_output_idx == PA_INVALID_INDEX) in gst_pulsesrc_get_current_device() 627 if (pulsesrc->source_output_idx == PA_INVALID_INDEX) in gst_pulsesrc_set_stream_volume() 682 if (pulsesrc->source_output_idx == PA_INVALID_INDEX) in gst_pulsesrc_set_stream_mute() 735 if (pulsesrc->source_output_idx == PA_INVALID_INDEX) in gst_pulsesrc_set_stream_device()
|
D | pulsesink.c | 2431 if ((idx = pa_stream_get_index (pbuf->stream)) == PA_INVALID_INDEX) in gst_pulsesink_set_volume() 2504 if ((idx = pa_stream_get_index (pbuf->stream)) == PA_INVALID_INDEX) in gst_pulsesink_set_mute() 2604 if ((idx = pa_stream_get_index (pbuf->stream)) == PA_INVALID_INDEX) in gst_pulsesink_get_sink_input_info() 2815 if ((idx = pa_stream_get_index (pbuf->stream)) == PA_INVALID_INDEX) in gst_pulsesink_set_stream_device()
|