Home
last modified time | relevance | path

Searched refs:pa_dbus_send_error (Results 1 - 13 of 13) sorted by relevance

/third_party/pulseaudio/src/modules/dbus/
H A Diface-sample.c170 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NO_SUCH_PROPERTY, in handle_get_sample_format()
189 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NO_SUCH_PROPERTY, in handle_get_sample_rate()
209 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NO_SUCH_PROPERTY, in handle_get_channels()
230 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NO_SUCH_PROPERTY, in handle_get_default_volume()
250 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NO_SUCH_PROPERTY, in handle_get_duration()
269 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NO_SUCH_PROPERTY, in handle_get_bytes()
368 pa_dbus_send_error(conn, msg, DBUS_ERROR_INVALID_ARGS, "Invalid volume."); in handle_play()
373 pa_dbus_send_error(conn, msg, DBUS_ERROR_FAILED, in handle_play()
384 pa_dbus_send_error(conn, msg, DBUS_ERROR_FAILED, "Playing sample %s failed.", s->sample->name); in handle_play()
418 pa_dbus_send_error(con in handle_play_to_sink()
[all...]
H A Diface-core.c473 pa_dbus_send_error(conn, msg, DBUS_ERROR_INVALID_ARGS, "Empty channel array."); in handle_set_default_channels()
478 pa_dbus_send_error(conn, msg, DBUS_ERROR_INVALID_ARGS, in handle_set_default_channels()
487 pa_dbus_send_error(conn, msg, DBUS_ERROR_INVALID_ARGS, "Invalid channel position: %u.", default_channels[i]); in handle_set_default_channels()
525 pa_dbus_send_error(conn, msg, DBUS_ERROR_INVALID_ARGS, "Invalid sample format."); in handle_set_default_sample_format()
559 pa_dbus_send_error(conn, msg, DBUS_ERROR_INVALID_ARGS, "Invalid sample rate."); in handle_set_default_sample_rate()
593 pa_dbus_send_error(conn, msg, DBUS_ERROR_INVALID_ARGS, "Invalid sample rate."); in handle_set_alternate_sample_rate()
690 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NO_SUCH_PROPERTY, in handle_get_fallback_sink()
712 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NO_SUCH_PROPERTY, in handle_set_fallback_sink()
720 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NOT_FOUND, "%s: No such sink.", object_path); in handle_set_fallback_sink()
778 pa_dbus_send_error(con in handle_get_fallback_source()
[all...]
H A Diface-stream.c217 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NO_SUCH_PROPERTY, "%s doesn't have a driver.", str); in handle_get_driver()
240 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NO_SUCH_PROPERTY, "%s doesn't have an owner module.", str); in handle_get_owner_module()
265 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NO_SUCH_PROPERTY, "%s isn't associated to any client.", str); in handle_get_client()
347 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NO_SUCH_PROPERTY, "%s doesn't have volume.", str); in handle_get_volume()
380 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NO_SUCH_PROPERTY, "%s doesn't have volume.", str); in handle_set_volume()
382 pa_dbus_send_error(conn, msg, DBUS_ERROR_ACCESS_DENIED, "%s has read-only volume.", str); in handle_set_volume()
394 pa_dbus_send_error(conn, msg, DBUS_ERROR_INVALID_ARGS, in handle_set_volume()
404 pa_dbus_send_error(conn, msg, DBUS_ERROR_INVALID_ARGS, "Invalid volume: %u", volume[i]); in handle_set_volume()
423 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NO_SUCH_PROPERTY, "Record streams don't have mute."); in handle_get_mute()
442 pa_dbus_send_error(con in handle_set_mute()
[all...]
H A Diface-device.c311 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NO_SUCH_PROPERTY, in handle_get_owner_module()
314 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NO_SUCH_PROPERTY, in handle_get_owner_module()
337 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NO_SUCH_PROPERTY, in handle_get_card()
340 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NO_SUCH_PROPERTY, in handle_get_card()
429 pa_dbus_send_error(conn, msg, DBUS_ERROR_INVALID_ARGS, in handle_set_volume()
439 pa_dbus_send_error(conn, msg, DBUS_ERROR_INVALID_ARGS, "Too large volume value: %u", volume[i]); in handle_set_volume()
605 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NO_SUCH_PROPERTY, in handle_get_latency()
611 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NO_SUCH_PROPERTY, in handle_get_latency()
715 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NO_SUCH_PROPERTY, in handle_get_active_port()
718 pa_dbus_send_error(con in handle_get_active_port()
[all...]
H A Diface-client.c166 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NO_SUCH_PROPERTY, "Client %d doesn't have an owner module.", c->client->index); in handle_get_owner_module()
337 pa_dbus_send_error(conn, msg, DBUS_ERROR_ACCESS_DENIED, "Client tried to modify the property list of another client."); in handle_update_properties()
349 pa_dbus_send_error(conn, msg, DBUS_ERROR_INVALID_ARGS, "Invalid update mode: %u", update_mode); in handle_update_properties()
374 pa_dbus_send_error(conn, msg, DBUS_ERROR_ACCESS_DENIED, "Client tried to modify the property list of another client."); in handle_remove_properties()
H A Diface-card.c182 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NO_SUCH_PROPERTY, "Card %s doesn't have an owner module.", c->card->name); in handle_get_owner_module()
347 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NOT_FOUND, "%s: No such profile.", new_active_path); in handle_set_active_profile()
352 pa_dbus_send_error(conn, msg, DBUS_ERROR_FAILED, in handle_set_active_profile()
440 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NOT_FOUND, "%s: No such profile on card %s.", profile_name, c->card->name); in handle_get_profile_by_name()
H A Diface-module.c187 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NO_SUCH_PROPERTY, in handle_get_usage_counter()
258 pa_dbus_send_error(conn, msg, DBUS_ERROR_ACCESS_DENIED, "The server is configured to disallow module unloading."); in handle_unload()
/third_party/pulseaudio/src/modules/
H A Dmodule-equalizer-sink.c1688 pa_dbus_send_error(conn, msg, DBUS_ERROR_INVALID_ARGS, "%s", error.message); in manager_handle_remove_profile()
1847 pa_dbus_send_error(conn, msg, DBUS_ERROR_INVALID_ARGS, "%s", error.message); in equalizer_handle_seed_filter()
1852 pa_dbus_send_error(conn, msg, DBUS_ERROR_INVALID_ARGS, "invalid channel: %d", channel); in equalizer_handle_seed_filter()
1863 pa_dbus_send_error(conn, msg, DBUS_ERROR_INVALID_ARGS, "xs must be monotonic and 0<=x<=%zd", u->fft_size / 2); in equalizer_handle_seed_filter()
1867 pa_dbus_send_error(conn, msg, DBUS_ERROR_INVALID_ARGS, "xs and ys must be the same length and 2<=l<=%zd!", FILTER_SIZE(u)); in equalizer_handle_seed_filter()
1871 pa_dbus_send_error(conn, msg, DBUS_ERROR_INVALID_ARGS, "xs[0] must be 0 and xs[-1]=fft_size/2"); in equalizer_handle_seed_filter()
1925 pa_dbus_send_error(conn, msg, DBUS_ERROR_INVALID_ARGS, "%s", error.message); in equalizer_handle_get_filter_points()
1930 pa_dbus_send_error(conn, msg, DBUS_ERROR_INVALID_ARGS, "invalid channel: %d", channel); in equalizer_handle_get_filter_points()
1943 pa_dbus_send_error(conn, msg, DBUS_ERROR_INVALID_ARGS, "xs indices/length must be <= %zd!", FILTER_SIZE(u)); in equalizer_handle_get_filter_points()
2000 pa_dbus_send_error(con in equalizer_handle_get_filter()
[all...]
H A Dmodule-stream-restore.c372 pa_dbus_send_error(conn, msg, DBUS_ERROR_INVALID_ARGS, "Invalid channel position: %u", chan_pos); in get_volume_arg()
380 pa_dbus_send_error(conn, msg, DBUS_ERROR_INVALID_ARGS, "Invalid volume: %u", chan_vol); in get_volume_arg()
395 pa_dbus_send_error(conn, msg, DBUS_ERROR_INVALID_ARGS, "Too many channels: %u. The maximum is %u.", map->channels, PA_CHANNELS_MAX); in get_volume_arg()
625 pa_dbus_send_error(conn, msg, DBUS_ERROR_INVALID_ARGS, "An empty string was given as the entry name."); in handle_add_entry()
696 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NOT_FOUND, "No such stream restore entry."); in handle_get_entry_by_name()
H A Dmodule-ladspa-sink.c220 pa_dbus_send_error(conn, msg, DBUS_ERROR_INVALID_ARGS, "Wrong number of array values (expected %lu)", u->n_control); in set_algorithm_parameters()
242 pa_dbus_send_error(conn, msg, DBUS_ERROR_FAILED, "Internal error"); in set_algorithm_parameters()
/third_party/pulseaudio/src/pulsecore/
H A Dprotocol-dbus.c555 pa_dbus_send_error(connection, message, DBUS_ERROR_ACCESS_DENIED, in handle_message_cb()
560 pa_dbus_send_error(connection, message, DBUS_ERROR_UNKNOWN_METHOD, "No such method: %s", call_info.method); in handle_message_cb()
564 pa_dbus_send_error(connection, message, PA_DBUS_ERROR_NO_SUCH_INTERFACE, "No such interface: %s", call_info.interface); in handle_message_cb()
568 pa_dbus_send_error(connection, message, PA_DBUS_ERROR_NO_SUCH_PROPERTY, "No such property: %s", call_info.property); in handle_message_cb()
572 pa_dbus_send_error(connection, message, PA_DBUS_ERROR_NO_SUCH_INTERFACE, "No such property interface: %s", call_info.property_interface); in handle_message_cb()
576 pa_dbus_send_error(connection, message, DBUS_ERROR_INVALID_ARGS, in handle_message_cb()
582 pa_dbus_send_error(connection, message, DBUS_ERROR_INVALID_ARGS, in handle_message_cb()
H A Ddbus-util.h77 void pa_dbus_send_error(
H A Ddbus-util.c449 void pa_dbus_send_error(DBusConnection *c, DBusMessage *in_reply_to, const char *name, const char *format, ...) { in pa_dbus_send_error() function
756 pa_dbus_send_error(c, msg, DBUS_ERROR_INVALID_ARGS, "Invalid property list key: '%s'.", key); in pa_dbus_get_proplist_arg()

Completed in 21 milliseconds