Home
last modified time | relevance | path

Searched refs:pa_assert_se (Results 1 – 25 of 151) sorted by relevance

1234567

/third_party/pulseaudio/src/modules/
Dmodule-rygel-media-server.c195 pa_assert_se(m = dbus_message_new_signal(parent, "org.gnome.UPnP.MediaContainer2", "Updated")); in send_signal()
196 pa_assert_se(dbus_connection_send(pa_dbus_connection_get(u->bus), m, NULL)); in send_signal()
260 pa_assert_se(dbus_message_iter_open_container(iter, DBUS_TYPE_VARIANT, "ao", &variant)); in append_variant_object_array()
261 pa_assert_se(dbus_message_iter_open_container(&variant, DBUS_TYPE_ARRAY, "o", &array)); in append_variant_object_array()
264 pa_assert_se(dbus_message_iter_append_basic(&array, DBUS_TYPE_OBJECT_PATH, path + c)); in append_variant_object_array()
266 pa_assert_se(dbus_message_iter_close_container(&variant, &array)); in append_variant_object_array()
267 pa_assert_se(dbus_message_iter_close_container(iter, &variant)); in append_variant_object_array()
281 pa_assert_se(dbus_message_iter_open_container(iter, DBUS_TYPE_VARIANT, "s", &sub)); in append_variant_string()
282 pa_assert_se(dbus_message_iter_append_basic(&sub, DBUS_TYPE_STRING, &s)); in append_variant_string()
283 pa_assert_se(dbus_message_iter_close_container(iter, &sub)); in append_variant_string()
[all …]
Dmodule-stream-restore.c316pa_assert_se(pa_dbus_protocol_add_interface(u->dbus_protocol, de->object_path, &entry_interface_in… in dbus_entry_new()
324pa_assert_se(pa_dbus_protocol_remove_interface(de->userdata->dbus_protocol, de->object_path, entry… in dbus_entry_free()
350 pa_assert_se(signature = dbus_message_iter_get_signature(iter)); in get_volume_arg()
376 pa_assert_se(dbus_message_iter_next(&struct_iter)); in get_volume_arg()
412 pa_assert_se(dbus_message_iter_open_container(iter, DBUS_TYPE_ARRAY, "(uu)", &array_iter)); in append_volume()
415 pa_assert_se(dbus_message_iter_close_container(iter, &array_iter)); in append_volume()
420pa_assert_se(dbus_message_iter_open_container(&array_iter, DBUS_TYPE_STRUCT, NULL, &struct_iter)); in append_volume()
422pa_assert_se(dbus_message_iter_append_basic(&struct_iter, DBUS_TYPE_UINT32, &e->channel_map.map[i]… in append_volume()
423pa_assert_se(dbus_message_iter_append_basic(&struct_iter, DBUS_TYPE_UINT32, &e->volume.values[i])); in append_volume()
425 pa_assert_se(dbus_message_iter_close_container(&array_iter, &struct_iter)); in append_volume()
[all …]
Dmodule-virtual-sink.c119 pa_assert_se(u = s->userdata); in sink_set_state_in_main_thread_cb()
134 pa_assert_se(u = s->userdata); in sink_set_state_in_io_thread_cb()
151 pa_assert_se(u = s->userdata); in sink_request_rewind_cb()
168 pa_assert_se(u = s->userdata); in sink_update_requested_latency_cb()
185 pa_assert_se(u = s->userdata); in sink_set_volume_cb()
199 pa_assert_se(u = s->userdata); in sink_set_mute_cb()
219 pa_assert_se(u = i->userdata); in sink_input_pop_cb()
290 pa_assert_se(u = i->userdata); in sink_input_process_rewind_cb()
319 pa_assert_se(u = i->userdata); in sink_input_update_max_rewind_cb()
332 pa_assert_se(u = i->userdata); in sink_input_update_max_request_cb()
[all …]
Dmodule-remap-sink.c107 pa_assert_se(u = s->userdata); in sink_set_state_in_main_thread()
122 pa_assert_se(u = s->userdata); in sink_set_state_in_io_thread_cb()
139 pa_assert_se(u = s->userdata); in sink_request_rewind()
153 pa_assert_se(u = s->userdata); in sink_update_requested_latency()
171 pa_assert_se(u = i->userdata); in sink_input_pop_cb()
189 pa_assert_se(u = i->userdata); in sink_input_process_rewind_cb()
208 pa_assert_se(u = i->userdata); in sink_input_update_max_rewind_cb()
220 pa_assert_se(u = i->userdata); in sink_input_update_max_request_cb()
230 pa_assert_se(u = i->userdata); in sink_input_update_sink_latency_range_cb()
240 pa_assert_se(u = i->userdata); in sink_input_update_sink_fixed_latency_cb()
[all …]
Dmodule-ladspa-sink.c157 pa_assert_se(u = _u); in get_algorithm_parameters()
159 pa_assert_se((reply = dbus_message_new_method_return(msg))); in get_algorithm_parameters()
176 pa_assert_se(dbus_message_iter_close_container(&msg_iter, &struct_iter)); in get_algorithm_parameters()
178 pa_assert_se(dbus_connection_send(conn, reply, NULL)); in get_algorithm_parameters()
197 pa_assert_se(u = _u); in set_algorithm_parameters()
265 pa_assert_se(u = _u); in ladspa_get_all()
267 pa_assert_se((reply = dbus_message_new_method_return(msg))); in ladspa_get_all()
272 pa_assert_se(dbus_message_iter_open_container(&msg_iter, DBUS_TYPE_ARRAY, "{sv}", &dict_iter)); in ladspa_get_all()
273pa_assert_se(dbus_message_iter_open_container(&dict_iter, DBUS_TYPE_DICT_ENTRY, NULL, &dict_entry_… in ladspa_get_all()
274 pa_assert_se(dbus_message_iter_append_basic(&dict_entry_iter, DBUS_TYPE_STRING, &key)); in ladspa_get_all()
[all …]
Dmodule-equalizer-sink.c182 pa_assert_se(x_range_lower < x_range_upper); in interpolate()
183 pa_assert_se(x >= x_range_lower); in interpolate()
184 pa_assert_se(x <= x_range_upper); in interpolate()
217 pa_assert_se(t = fftwf_malloc(f)); in alloc()
280 pa_assert_se(u = s->userdata); in sink_set_state_in_main_thread_cb()
295 pa_assert_se(u = s->userdata); in sink_set_state_in_io_thread_cb()
312 pa_assert_se(u = s->userdata); in sink_request_rewind_cb()
327 pa_assert_se(u = s->userdata); in sink_update_requested_latency_cb()
344 pa_assert_se(u = s->userdata); in sink_set_volume_cb()
358 pa_assert_se(u = s->userdata); in sink_set_mute_cb()
[all …]
Dmodule-remap-source.c115 pa_assert_se(u = s->userdata); in source_set_state_in_main_thread_cb()
130 pa_assert_se(u = s->userdata); in source_update_requested_latency_cb()
150 pa_assert_se(u = o->userdata); in source_output_push_cb()
169 pa_assert_se(u = o->userdata); in source_output_process_rewind_cb()
182 pa_assert_se(u = o->userdata); in source_output_update_max_rewind_cb()
193 pa_assert_se(u = o->userdata); in source_output_detach_cb()
207 pa_assert_se(u = o->userdata); in source_output_attach_cb()
224 pa_assert_se(u = o->userdata); in source_output_kill_cb()
247 pa_assert_se(u = o->userdata); in source_output_state_change_cb()
260 pa_assert_se(u = o->userdata); in source_output_moving_cb()
[all …]
Dmodule-virtual-surround-sink.c147 pa_assert_se(u = s->userdata); in sink_set_state_in_main_thread_cb()
162 pa_assert_se(u = s->userdata); in sink_set_state_in_io_thread_cb()
179 pa_assert_se(u = s->userdata); in sink_request_rewind_cb()
196 pa_assert_se(u = s->userdata); in sink_update_requested_latency_cb()
213 pa_assert_se(u = s->userdata); in sink_set_volume_cb()
227 pa_assert_se(u = s->userdata); in sink_set_mute_cb()
249 pa_assert_se(u = i->userdata); in sink_input_pop_cb()
319 pa_assert_se(u = i->userdata); in sink_input_process_rewind_cb()
350 pa_assert_se(u = i->userdata); in sink_input_update_max_rewind_cb()
363 pa_assert_se(u = i->userdata); in sink_input_update_max_request_cb()
[all …]
/third_party/pulseaudio/src/daemon/
Dcaps.c57 pa_assert_se(setresuid(uid, uid, uid) >= 0); in pa_drop_root()
58 pa_assert_se(setresgid(gid, gid, gid) >= 0); in pa_drop_root()
60 pa_assert_se(setreuid(uid, uid) >= 0); in pa_drop_root()
61 pa_assert_se(setregid(gid, gid) >= 0); in pa_drop_root()
63 pa_assert_se(setuid(uid) >= 0); in pa_drop_root()
64 pa_assert_se(seteuid(uid) >= 0); in pa_drop_root()
65 pa_assert_se(setgid(gid) >= 0); in pa_drop_root()
66 pa_assert_se(setegid(gid) >= 0); in pa_drop_root()
69 pa_assert_se(getuid() == uid); in pa_drop_root()
70 pa_assert_se(geteuid() == uid); in pa_drop_root()
[all …]
/third_party/pulseaudio/src/pulsecore/
Ddbus-util.c180 pa_assert_se(ev = dbus_watch_get_data(watch)); in toggle_watch()
236 pa_assert_se(ev = dbus_timeout_get_data(timeout)); in toggle_timeout()
360 pa_assert_se(t = va_arg(ap, const char*)); in pa_dbus_add_matches()
444 pa_assert_se(dbus_message_get_args(m, NULL, DBUS_TYPE_STRING, &message, DBUS_TYPE_INVALID)); in pa_dbus_get_error_message()
462 pa_assert_se((reply = dbus_message_new_error(in_reply_to, name, message))); in pa_dbus_send_error()
463 pa_assert_se(dbus_connection_send(c, reply, NULL)); in pa_dbus_send_error()
476 pa_assert_se((reply = dbus_message_new_method_return(in_reply_to))); in pa_dbus_send_empty_reply()
477 pa_assert_se(dbus_connection_send(c, reply, NULL)); in pa_dbus_send_empty_reply()
489 pa_assert_se((reply = dbus_message_new_method_return(in_reply_to))); in pa_dbus_send_basic_value_reply()
490 pa_assert_se(dbus_message_append_args(reply, type, data, DBUS_TYPE_INVALID)); in pa_dbus_send_basic_value_reply()
[all …]
Dmutex-posix.c49 pa_assert_se(pthread_mutexattr_init(&attr) == 0); in pa_mutex_new()
52 pa_assert_se(pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE) == 0); in pa_mutex_new()
64 pa_assert_se(pthread_mutex_init(&m->mutex, &attr) == 0); in pa_mutex_new()
74 pa_assert_se(pthread_mutexattr_setprotocol(&attr, PTHREAD_PRIO_NONE) == 0); in pa_mutex_new()
75 pa_assert_se(pthread_mutex_init(&m->mutex, &attr) == 0); in pa_mutex_new()
85 pa_assert_se(pthread_mutex_destroy(&m->mutex) == 0); in pa_mutex_free()
92 pa_assert_se(pthread_mutex_lock(&m->mutex) == 0); in pa_mutex_lock()
120 pa_assert_se(pthread_cond_init(&c->cond, NULL) == 0); in pa_cond_new()
127 pa_assert_se(pthread_cond_destroy(&c->cond) == 0); in pa_cond_free()
135 pa_assert_se(pthread_cond_broadcast(&c->cond) == 0); in pa_cond_signal()
[all …]
Dstart-child.c62 pa_assert_se(pa_close(pipe_fds[1]) == 0); in pa_start_child_for_read()
73 pa_assert_se(pa_close(pipe_fds[0]) == 0); in pa_start_child_for_read()
74 pa_assert_se(dup2(pipe_fds[1], STDOUT_FILENO) == STDOUT_FILENO); in pa_start_child_for_read()
77 pa_assert_se(pa_close(pipe_fds[1]) == 0); in pa_start_child_for_read()
80 pa_assert_se(open("/dev/null", O_RDONLY) == STDIN_FILENO); in pa_start_child_for_read()
83 pa_assert_se(open("/dev/null", O_WRONLY) == STDERR_FILENO); in pa_start_child_for_read()
Dprotocol-dbus.c94 pa_assert_se((runtime_path = pa_runtime_path(PA_DBUS_SOCKET_NAME))); in pa_get_dbus_address_from_server_type()
95 pa_assert_se((escaped_path = dbus_address_escape_value(runtime_path))); in pa_get_dbus_address_from_server_type()
100 pa_assert_se((escaped_path = dbus_address_escape_value(PA_DBUS_SYSTEM_SOCKET_PATH))); in pa_get_dbus_address_from_server_type()
134 pa_assert_se(pa_shared_set(c, "dbus-protocol", p) >= 0); in dbus_protocol_new()
177 pa_assert_se(pa_shared_remove(p->core, "dbus-protocol") >= 0); in pa_dbus_protocol_unref()
361pa_assert_se(call_info->expected_method_sig = pa_hashmap_get(call_info->iface_entry->method_signat… in find_handler_by_method()
381 pa_assert_se(dbus_message_get_args(call_info->message, NULL, in find_handler_from_properties_call()
392pa_assert_se(call_info->iface_entry = pa_hashmap_first(call_info->obj_entry->interfaces)); in find_handler_from_properties_call()
401 pa_assert_se(dbus_message_get_args(call_info->message, NULL, in find_handler_from_properties_call()
425 pa_assert_se(dbus_message_iter_init(call_info->message, &msg_iter)); in find_handler_from_properties_call()
[all …]
Dthread-mq.c118 pa_assert_se(pa_asyncmsgq_read_before_poll(q->outq) == 0); in pa_thread_mq_init_thread_mainloop()
120pa_assert_se(q->read_main_event = main_mainloop->io_new(main_mainloop, pa_asyncmsgq_read_fd(q->out… in pa_thread_mq_init_thread_mainloop()
121pa_assert_se(q->write_thread_event = thread_mainloop->io_new(thread_mainloop, pa_asyncmsgq_write_f… in pa_thread_mq_init_thread_mainloop()
125pa_assert_se(q->read_thread_event = thread_mainloop->io_new(thread_mainloop, pa_asyncmsgq_read_fd(… in pa_thread_mq_init_thread_mainloop()
126pa_assert_se(q->write_main_event = main_mainloop->io_new(main_mainloop, pa_asyncmsgq_write_fd(q->i… in pa_thread_mq_init_thread_mainloop()
153 pa_assert_se(pa_asyncmsgq_read_before_poll(q->outq) == 0); in pa_thread_mq_init()
154pa_assert_se(q->read_main_event = mainloop->io_new(mainloop, pa_asyncmsgq_read_fd(q->outq), PA_IO_… in pa_thread_mq_init()
157pa_assert_se(q->write_main_event = mainloop->io_new(mainloop, pa_asyncmsgq_write_fd(q->inq), PA_IO… in pa_thread_mq_init()
Dsemaphore-posix.c41 pa_assert_se(sem_init(&s->sem, 0, value) == 0); in pa_semaphore_new()
47 pa_assert_se(sem_destroy(&s->sem) == 0); in pa_semaphore_free()
53 pa_assert_se(sem_post(&s->sem) == 0); in pa_semaphore_post()
85 pa_assert_se(m = pa_atomic_ptr_load(&s->ptr)); in pa_static_semaphore_get()
Dsemaphore-osx.c61 pa_assert_se(s->sem = sem_open(fn, O_CREAT|O_EXCL, 0700, value)); in pa_semaphore_new()
71 pa_assert_se(sem_close(s->sem) == 0); in pa_semaphore_free()
73 pa_assert_se(sem_unlink(fn) == 0); in pa_semaphore_free()
79 pa_assert_se(sem_post(s->sem) == 0); in pa_semaphore_post()
/third_party/pulseaudio/src/modules/dbus/
Diface-module.c139 pa_assert_se(ma = pa_modargs_new(m->module->argument, NULL)); in append_modargs_variant()
141 pa_assert_se(dbus_message_iter_open_container(iter, DBUS_TYPE_VARIANT, "a{ss}", &variant_iter)); in append_modargs_variant()
142pa_assert_se(dbus_message_iter_open_container(&variant_iter, DBUS_TYPE_ARRAY, "{ss}", &dict_iter)); in append_modargs_variant()
145 pa_assert_se(value = pa_modargs_get_value(ma, key, NULL)); in append_modargs_variant()
147pa_assert_se(dbus_message_iter_open_container(&dict_iter, DBUS_TYPE_DICT_ENTRY, NULL, &dict_entry_… in append_modargs_variant()
149 pa_assert_se(dbus_message_iter_append_basic(&dict_entry_iter, DBUS_TYPE_STRING, &key)); in append_modargs_variant()
150 pa_assert_se(dbus_message_iter_append_basic(&dict_entry_iter, DBUS_TYPE_STRING, &value)); in append_modargs_variant()
152 pa_assert_se(dbus_message_iter_close_container(&dict_iter, &dict_entry_iter)); in append_modargs_variant()
155 pa_assert_se(dbus_message_iter_close_container(&variant_iter, &dict_iter)); in append_modargs_variant()
156 pa_assert_se(dbus_message_iter_close_container(iter, &variant_iter)); in append_modargs_variant()
[all …]
Diface-core.c695pa_assert_se((fallback_sink = pa_hashmap_get(c->sinks_by_index, PA_UINT32_TO_PTR(c->fallback_sink-… in handle_get_fallback_sink()
783pa_assert_se((fallback_source = pa_hashmap_get(c->sources_by_index, PA_UINT32_TO_PTR(c->fallback_s… in handle_get_fallback_source()
1018 pa_assert_se((my_client = pa_dbus_protocol_get_client(c->dbus_protocol, conn))); in get_my_client()
1122 pa_assert_se((reply = dbus_message_new_method_return(msg))); in handle_get_all()
1125 pa_assert_se(dbus_message_iter_open_container(&msg_iter, DBUS_TYPE_ARRAY, "{sv}", &dict_iter)); in handle_get_all()
1156 pa_assert_se(dbus_message_iter_close_container(&msg_iter, &dict_iter)); in handle_get_all()
1158 pa_assert_se(dbus_connection_send(conn, reply, NULL)); in handle_get_all()
1187 pa_assert_se(dbus_message_get_args(msg, NULL, DBUS_TYPE_STRING, &card_name, DBUS_TYPE_INVALID)); in handle_get_card_by_name()
1194 pa_assert_se((dbus_card = pa_hashmap_get(c->cards, PA_UINT32_TO_PTR(card->index)))); in handle_get_card_by_name()
1212 pa_assert_se(dbus_message_get_args(msg, NULL, DBUS_TYPE_STRING, &sink_name, DBUS_TYPE_INVALID)); in handle_get_sink_by_name()
[all …]
Diface-card.c397 pa_assert_se((reply = dbus_message_new_method_return(msg))); in handle_get_all()
400 pa_assert_se(dbus_message_iter_open_container(&msg_iter, DBUS_TYPE_ARRAY, "{sv}", &dict_iter)); in handle_get_all()
416 pa_assert_se(dbus_message_iter_close_container(&msg_iter, &dict_iter)); in handle_get_all()
418 pa_assert_se(dbus_connection_send(conn, reply, NULL)); in handle_get_all()
437pa_assert_se(dbus_message_get_args(msg, NULL, DBUS_TYPE_STRING, &profile_name, DBUS_TYPE_INVALID)); in handle_get_profile_by_name()
457 pa_assert_se(signal_msg = dbus_message_new_signal(c->path, in check_card_proplist()
481 pa_assert_se(signal_msg = dbus_message_new_signal(dbus_card->path, in card_profile_changed_cb()
484pa_assert_se(dbus_message_append_args(signal_msg, DBUS_TYPE_OBJECT_PATH, &object_path, DBUS_TYPE_I… in card_profile_changed_cb()
506pa_assert_se(pa_hashmap_put(c->profiles, (char *) pa_dbusiface_card_profile_get_name(p), p) >= 0); in card_profile_added_cb()
511 pa_assert_se(signal_msg = dbus_message_new_signal(c->path, in card_profile_added_cb()
[all …]
Diface-device-port.c160 pa_assert_se((reply = dbus_message_new_method_return(msg))); in handle_get_all()
163 pa_assert_se(dbus_message_iter_open_container(&msg_iter, DBUS_TYPE_ARRAY, "{sv}", &dict_iter)); in handle_get_all()
171 pa_assert_se(dbus_message_iter_close_container(&msg_iter, &dict_iter)); in handle_get_all()
173 pa_assert_se(dbus_connection_send(conn, reply, NULL)); in handle_get_all()
191 pa_assert_se(signal_msg = dbus_message_new_signal(p->path, in available_changed_cb()
194pa_assert_se(dbus_message_append_args(signal_msg, DBUS_TYPE_UINT32, &available, DBUS_TYPE_INVALID)… in available_changed_cb()
222pa_assert_se(pa_dbus_protocol_add_interface(p->dbus_protocol, p->path, &port_interface_info, p) >=… in pa_dbusiface_device_port_new()
230pa_assert_se(pa_dbus_protocol_remove_interface(p->dbus_protocol, p->path, port_interface_info.name… in pa_dbusiface_device_port_free()
/third_party/pulseaudio/src/tests/
Dstripnul.c37 pa_assert_se(argc >= 2); in main()
38 pa_assert_se((granularity = (size_t) atoi(argv[1])) >= 1); in main()
40 pa_assert_se((i = (argc >= 3) ? fopen(argv[2], "r") : stdin)); in main()
41 pa_assert_se((o = (argc >= 4) ? fopen(argv[3], "w") : stdout)); in main()
55 pa_assert_se(fwrite(buffer, granularity, k, o) == k); in main()
62 pa_assert_se(fwrite(p, granularity, left, o) == left); in main()
/third_party/pulseaudio/src/modules/bluetooth/
Dbackend-ofono.c94pa_assert_se(dbus_connection_send_with_reply(pa_dbus_connection_get(backend->connection), m, &call… in hf_dbus_send_and_add_to_pending()
108pa_assert_se(m = dbus_message_new_method_call(t->owner, t->path, "org.ofono.HandsfreeAudioCard", m… in card_send()
389 pa_assert_se(p = userdata); in hf_audio_agent_get_cards_reply()
390 pa_assert_se(backend = p->context_data); in hf_audio_agent_get_cards_reply()
391 pa_assert_se(r = dbus_pending_call_steal_reply(pending)); in hf_audio_agent_get_cards_reply()
431pa_assert_se(m = dbus_message_new_method_call(OFONO_SERVICE, "/", HF_AUDIO_MANAGER_INTERFACE, "Get… in hf_audio_agent_get_cards()
450 pa_assert_se(p = userdata); in hf_audio_agent_register_reply()
451 pa_assert_se(backend = p->context_data); in hf_audio_agent_register_reply()
452 pa_assert_se(r = dbus_pending_call_steal_reply(pending)); in hf_audio_agent_register_reply()
482pa_assert_se(m = dbus_message_new_method_call(OFONO_SERVICE, "/", HF_AUDIO_MANAGER_INTERFACE, "Reg… in hf_audio_agent_register()
[all …]
Dbackend-native.c102pa_assert_se(dbus_connection_send_with_reply(pa_dbus_connection_get(backend->connection), m, &call… in send_and_add_to_pending()
299 pa_assert_se(p = userdata); in register_profile_reply()
300 pa_assert_se(b = p->context_data); in register_profile_reply()
301 pa_assert_se(profile = p->call_data); in register_profile_reply()
302 pa_assert_se(r = dbus_pending_call_steal_reply(pending)); in register_profile_reply()
332pa_assert_se(m = dbus_message_new_method_call(BLUEZ_SERVICE, "/org/bluez", BLUEZ_PROFILE_MANAGER_I… in register_profile()
335 pa_assert_se(dbus_message_iter_append_basic(&i, DBUS_TYPE_OBJECT_PATH, &profile)); in register_profile()
336 pa_assert_se(dbus_message_iter_append_basic(&i, DBUS_TYPE_STRING, &uuid)); in register_profile()
529 pa_assert_se(dbus_message_iter_next(&arg_i)); in profile_new_connection()
562 pa_assert_se(r = dbus_message_new_method_return(m)); in profile_new_connection()
[all …]
Dbluez5-util.c107pa_assert_se(dbus_connection_send_with_reply(pa_dbus_connection_get(y->connection), m, &call, -1)); in send_and_add_to_pending()
328 pa_assert_se(pa_hashmap_put(t->device->discovery->transports, t->path, t) >= 0); in pa_bluetooth_transport_put()
364pa_assert_se(m = dbus_message_new_method_call(t->owner, t->path, BLUEZ_MEDIA_TRANSPORT_INTERFACE, … in bluez5_transport_acquire_cb()
415pa_assert_se(m = dbus_message_new_method_call(t->owner, t->path, BLUEZ_MEDIA_TRANSPORT_INTERFACE, … in bluez5_transport_release_cb()
867 pa_assert_se(p = userdata); in register_endpoint_reply()
868 pa_assert_se(y = p->context_data); in register_endpoint_reply()
869 pa_assert_se(endpoint = p->call_data); in register_endpoint_reply()
870 pa_assert_se(r = dbus_pending_call_steal_reply(pending)); in register_endpoint_reply()
905pa_assert_se(m = dbus_message_new_method_call(BLUEZ_SERVICE, path, BLUEZ_MEDIA_INTERFACE, "Registe… in register_endpoint()
908 pa_assert_se(dbus_message_iter_append_basic(&i, DBUS_TYPE_OBJECT_PATH, &endpoint)); in register_endpoint()
[all …]
/third_party/pulseaudio/src/pulsecore/resampler/
Dspeex.c37 pa_assert_se(s = speex_resampler_init(1, 1, 1, in pa_speex_is_fixed_point()
41 pa_assert_se(speex_resampler_process_float(s, 0, &f_in, &in_len, in pa_speex_is_fixed_point()
45 pa_assert_se(in_len == 1 && out_len == 1); in pa_speex_is_fixed_point()
82 pa_assert_se(speex_resampler_process_interleaved_float(state, in, &inf, out, &outf) == 0); in speex_resample_float()
108 pa_assert_se(speex_resampler_process_interleaved_int(state, in, &inf, out, &outf) == 0); in speex_resample_int()
125 pa_assert_se(speex_resampler_set_rate(state, r->i_ss.rate, r->o_ss.rate) == 0); in speex_update_rates()
134 pa_assert_se(speex_resampler_reset_mem(state) == 0); in speex_reset()

1234567