/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 | 1389 pa_sw_cvolume_multiply_scalar(&r, &r, s->base_volume); in source_get_volume_cb() 1416 pa_sw_cvolume_divide_scalar(&r, &s->real_volume, s->base_volume); in source_set_volume_cb() 1429 pa_sw_cvolume_multiply_scalar(&r, &r, s->base_volume); in source_set_volume_cb() 1479 pa_sw_cvolume_divide_scalar(&hw_vol, &hw_vol, s->base_volume); in source_write_volume_cb() 1488 pa_sw_cvolume_multiply_scalar(&hw_vol, &hw_vol, s->base_volume); in source_write_volume_cb() 1555 u->source->base_volume = pa_sw_volume_from_dB(-u->mixer_path->max_dB); in mixer_volume_init() 1558 … pa_log_info("Fixing base volume to %0.2f dB", pa_sw_volume_to_dB(u->source->base_volume)); in mixer_volume_init() 1563 u->source->base_volume = PA_VOLUME_NORM; in mixer_volume_init()
|
D | alsa-sink.c | 1515 pa_sw_cvolume_multiply_scalar(&r, &r, s->base_volume); in sink_get_volume_cb() 1542 pa_sw_cvolume_divide_scalar(&r, &s->real_volume, s->base_volume); in sink_set_volume_cb() 1555 pa_sw_cvolume_multiply_scalar(&r, &r, s->base_volume); in sink_set_volume_cb() 1605 pa_sw_cvolume_divide_scalar(&hw_vol, &hw_vol, s->base_volume); in sink_write_volume_cb() 1614 pa_sw_cvolume_multiply_scalar(&hw_vol, &hw_vol, s->base_volume); in sink_write_volume_cb() 1681 u->sink->base_volume = pa_sw_volume_from_dB(-u->mixer_path->max_dB); in mixer_volume_init() 1684 pa_log_info("Fixing base volume to %0.2f dB", pa_sw_volume_to_dB(u->sink->base_volume)); in mixer_volume_init() 1689 u->sink->base_volume = PA_VOLUME_NORM; in mixer_volume_init()
|
/third_party/pulseaudio/src/pulse/ |
D | introspect.h | 283 …pa_volume_t base_volume; /**< Some kind of "base" volume that refers to unamplified/unat… member 388 …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 | 293 s->base_volume = PA_VOLUME_NORM; in pa_sink_new() 718 || (s->base_volume == PA_VOLUME_NORM in pa_sink_put() 1748 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 | 3207 pa_tagstruct_put_volume(t, sink->base_volume); in sink_fill_tagstruct() 3282 pa_tagstruct_put_volume(t, source->base_volume); in source_fill_tagstruct()
|
/third_party/pulseaudio/src/modules/ |
D | module-tunnel.c | 1287 pa_volume_t base_volume; in sink_info_cb() local 1290 if (pa_tagstruct_get_volume(t, &base_volume) < 0 || in sink_info_cb() 1486 pa_volume_t base_volume; in source_info_cb() local 1489 if (pa_tagstruct_get_volume(t, &base_volume) < 0 || in source_info_cb()
|
/third_party/pulseaudio/src/utils/ |
D | pactl.c | 648 …dd_member_raw_json(encoder, "base_volume", pa_volume_to_json_object(i->base_volume, i->flags & PA_… in get_sink_info_callback() 691 … pa_volume_snprint_verbose(v, sizeof(v), i->base_volume, i->flags & PA_SINK_DECIBEL_VOLUME), in get_sink_info_callback() 833 …dd_member_raw_json(encoder, "base_volume", pa_volume_to_json_object(i->base_volume, i->flags & PA_… in get_source_info_callback() 876 … 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 | 1324 public Volume base_volume; 1358 public Volume base_volume;
|