/third_party/ffmpeg/libavdevice/ |
D | pulse_audio_enc.c | 50 pa_volume_t base_volume; member 66 s->base_volume = dev->base_volume; in pulse_audio_sink_device_cb() 68 s->base_volume = PA_VOLUME_NORM; in pulse_audio_sink_device_cb() 69 av_log(s, AV_LOG_DEBUG, "base volume: %u\n", s->base_volume); in pulse_audio_sink_device_cb() 106 vol = pa_sw_volume_divide(vol, s->base_volume); in pulse_audio_sink_input_cb() 337 vol = pa_sw_volume_multiply(lrint(volume * PA_VOLUME_NORM), s->base_volume); in pulse_set_volume()
|
/third_party/pulseaudio/src/modules/dbus/ |
D | iface-device.c | 483 dbus_uint32_t base_volume; in handle_get_base_volume() local 489 base_volume = (d->type == PA_DEVICE_TYPE_SINK) ? d->sink->base_volume : d->source->base_volume; in handle_get_base_volume() 491 pa_dbus_send_basic_variant_reply(conn, msg, DBUS_TYPE_UINT32, &base_volume); in handle_get_base_volume() 813 dbus_uint32_t base_volume = 0; in handle_get_all() local 843 base_volume = d->sink->base_volume; in handle_get_all() 864 base_volume = d->source->base_volume; in handle_get_all() 908 …er, property_handlers[PROPERTY_HANDLER_BASE_VOLUME].property_name, DBUS_TYPE_UINT32, &base_volume); in handle_get_all()
|
/third_party/pulseaudio/src/modules/alsa/ |
D | alsa-source.c | 1348 pa_sw_cvolume_multiply_scalar(&r, &r, s->base_volume); in source_get_volume_cb() 1374 pa_sw_cvolume_divide_scalar(&r, &s->real_volume, s->base_volume); in source_set_volume_cb() 1380 pa_sw_cvolume_multiply_scalar(&r, &r, s->base_volume); in source_set_volume_cb() 1430 pa_sw_cvolume_divide_scalar(&hw_vol, &hw_vol, s->base_volume); in source_write_volume_cb() 1439 pa_sw_cvolume_multiply_scalar(&hw_vol, &hw_vol, s->base_volume); in source_write_volume_cb() 1506 u->source->base_volume = pa_sw_volume_from_dB(-u->mixer_path->max_dB); in mixer_volume_init() 1509 … pa_log_info("Fixing base volume to %0.2f dB", pa_sw_volume_to_dB(u->source->base_volume)); in mixer_volume_init() 1514 u->source->base_volume = PA_VOLUME_NORM; in mixer_volume_init()
|
D | alsa-sink.c | 1477 pa_sw_cvolume_multiply_scalar(&r, &r, s->base_volume); in sink_get_volume_cb() 1503 pa_sw_cvolume_divide_scalar(&r, &s->real_volume, s->base_volume); in sink_set_volume_cb() 1509 pa_sw_cvolume_multiply_scalar(&r, &r, s->base_volume); in sink_set_volume_cb() 1559 pa_sw_cvolume_divide_scalar(&hw_vol, &hw_vol, s->base_volume); in sink_write_volume_cb() 1568 pa_sw_cvolume_multiply_scalar(&hw_vol, &hw_vol, s->base_volume); in sink_write_volume_cb() 1635 u->sink->base_volume = pa_sw_volume_from_dB(-u->mixer_path->max_dB); in mixer_volume_init() 1638 pa_log_info("Fixing base volume to %0.2f dB", pa_sw_volume_to_dB(u->sink->base_volume)); in mixer_volume_init() 1643 u->sink->base_volume = PA_VOLUME_NORM; in mixer_volume_init()
|
/third_party/pulseaudio/src/pulse/ |
D | introspect.h | 277 …pa_volume_t base_volume; /**< Some kind of "base" volume that refers to unamplified/unat… member 382 …pa_volume_t base_volume; /**< Some kind of "base" volume that refers to unamplified/una… member
|
D | introspect.c | 167 i.base_volume = PA_VOLUME_NORM; in context_get_sink_info_callback() 190 (pa_tagstruct_get_volume(t, &i.base_volume) < 0 || in context_get_sink_info_callback() 447 i.base_volume = PA_VOLUME_NORM; in context_get_source_info_callback() 470 (pa_tagstruct_get_volume(t, &i.base_volume) < 0 || in context_get_source_info_callback()
|
/third_party/pulseaudio/src/pulsecore/ |
D | cli-text.c | 250 … pa_volume_snprint_verbose(v, sizeof(v), sink->base_volume, sink->flags & PA_SINK_DECIBEL_VOLUME), in pa_sink_list_to_string() 361 …pa_volume_snprint_verbose(v, sizeof(v), source->base_volume, source->flags & PA_SOURCE_DECIBEL_VOL… in pa_source_list_to_string()
|
D | source.h | 94 pa_volume_t base_volume; /* shall be constant */ member
|
D | sink.h | 93 pa_volume_t base_volume; /* shall be constant */ member
|
D | source.c | 280 s->base_volume = PA_VOLUME_NORM; in pa_source_new() 666 || (s->base_volume == PA_VOLUME_NORM in pa_source_put() 1271 pa_cvolume_set(&volume, s->sample_spec.channels, PA_MIN(s->base_volume, PA_VOLUME_NORM)); in pa_source_enter_passthrough()
|
D | sink.c | 292 s->base_volume = PA_VOLUME_NORM; in pa_sink_new() 716 || (s->base_volume == PA_VOLUME_NORM in pa_sink_put() 1699 pa_cvolume_set(&volume, s->sample_spec.channels, PA_MIN(s->base_volume, PA_VOLUME_NORM)); in pa_sink_enter_passthrough()
|
D | protocol-native.c | 3195 pa_tagstruct_put_volume(t, sink->base_volume); in sink_fill_tagstruct() 3270 pa_tagstruct_put_volume(t, source->base_volume); in source_fill_tagstruct()
|
/third_party/pulseaudio/src/modules/ |
D | module-tunnel.c | 1134 pa_volume_t base_volume; in sink_info_cb() local 1137 if (pa_tagstruct_get_volume(t, &base_volume) < 0 || in sink_info_cb() 1333 pa_volume_t base_volume; in source_info_cb() local 1336 if (pa_tagstruct_get_volume(t, &base_volume) < 0 || in source_info_cb()
|
/third_party/pulseaudio/src/utils/ |
D | pactl.c | 347 … pa_volume_snprint_verbose(v, sizeof(v), i->base_volume, i->flags & PA_SINK_DECIBEL_VOLUME), in get_sink_info_callback() 456 … pa_volume_snprint_verbose(v, sizeof(v), i->base_volume, i->flags & PA_SOURCE_DECIBEL_VOLUME), in get_source_info_callback()
|
/third_party/pulseaudio/vala/ |
D | libpulse.vapi | 1300 public Volume base_volume; 1334 public Volume base_volume;
|