Home
last modified time | relevance | path

Searched refs:default_volume (Results 1 - 2 of 2) sorted by relevance

/third_party/pulseaudio/src/modules/dbus/
H A Diface-sample.c222 dbus_uint32_t default_volume[PA_CHANNELS_MAX]; in handle_get_default_volume() local
236 default_volume[i] = s->sample->volume.values[i]; in handle_get_default_volume()
238 pa_dbus_send_basic_array_variant_reply(conn, msg, DBUS_TYPE_UINT32, default_volume, s->sample->volume.channels); in handle_get_default_volume()
298 dbus_uint32_t default_volume[PA_CHANNELS_MAX]; in handle_get_all() local
318 default_volume[i] = s->sample->volume.values[i]; in handle_get_all()
336 pa_dbus_append_basic_array_variant_dict_entry(&dict_iter, property_handlers[PROPERTY_HANDLER_DEFAULT_VOLUME].property_name, DBUS_TYPE_UINT32, default_volume, s->sample->volume.channels); in handle_get_all()
H A Diface-core.c207 { "default_volume", "au", "in" },
1285 const dbus_uint32_t *default_volume; in handle_upload_sample() local
1320 dbus_message_iter_get_fixed_array(&array_iter, &default_volume, &n_volume_entries); in handle_upload_sample()
1359 "The channels and default_volume arguments have different number of elements (%i and %i, resp).", in handle_upload_sample()
1365 if (!PA_VOLUME_IS_VALID(default_volume[i])) { in handle_upload_sample()
1366 pa_dbus_send_error(conn, msg, DBUS_ERROR_INVALID_ARGS, "Invalid volume: %u.", default_volume[i]); in handle_upload_sample()
1418 sample->volume.values[i] = default_volume[i]; in handle_upload_sample()

Completed in 5 milliseconds