Home
last modified time | relevance | path

Searched refs:pa_cvolume_set (Results 1 – 24 of 24) sorted by relevance

/third_party/pulseaudio/src/pulse/
Dvolume.h161 #define pa_cvolume_reset(a, n) pa_cvolume_set((a), (n), PA_VOLUME_NORM)
164 #define pa_cvolume_mute(a, n) pa_cvolume_set((a), (n), PA_VOLUME_MUTED)
167 pa_cvolume* pa_cvolume_set(pa_cvolume *a, unsigned channels, pa_volume_t v);
Dvolume.c70 pa_cvolume* pa_cvolume_set(pa_cvolume *a, unsigned channels, pa_volume_t v) { in pa_cvolume_set() function
784 return pa_cvolume_set(v, v->channels, max); in pa_cvolume_scale()
808 return pa_cvolume_set(v, v->channels, max); in pa_cvolume_scale_mask()
Dohos_pa_volume.c70 pa_cvolume* pa_cvolume_set(pa_cvolume *a, unsigned channels, pa_volume_t v) { in pa_cvolume_set() function
800 return pa_cvolume_set(v, v->channels, max); in pa_cvolume_scale()
824 return pa_cvolume_set(v, v->channels, max); in pa_cvolume_scale_mask()
/third_party/pulseaudio/src/tests/
Dlo-test-util.c121 pa_cvolume_set(&vol, ctx->sample_spec.channels, v * PA_VOLUME_NORM); in calibrate_read_cb()
174 pa_cvolume_set(&vol, ctx->sample_spec.channels, PA_VOLUME_NORM); in stream_state_callback()
177 pa_cvolume_set(&vol, ctx->sample_spec.channels, pa_sw_volume_from_linear(0.0)); in stream_state_callback()
Dvolume-test.c62 pa_cvolume_set(&cv, 2, v); in START_TEST()
Dpassthrough-test.c301 pa_cvolume_set(&volume, 2, PA_VOLUME_NORM / 2); in START_TEST()
/third_party/pulseaudio/src/pulsecore/
Dcore-scache.c344 pa_cvolume_set(&r, e->sample_spec.channels, volume); in pa_scache_play_item()
349 pa_cvolume_set(&r, e->sample_spec.channels, volume); in pa_scache_play_item()
Dcli-command.c566 pa_cvolume_set(&cvolume, 1, volume); in pa_cli_command_sink_volume()
618 pa_cvolume_set(&cvolume, 1, volume); in pa_cli_command_sink_input_volume()
659 pa_cvolume_set(&cvolume, 1, volume); in pa_cli_command_source_volume()
711 pa_cvolume_set(&cvolume, 1, volume); in pa_cli_command_source_output_volume()
Dsource.c1271 pa_cvolume_set(&volume, s->sample_spec.channels, PA_MIN(s->base_volume, PA_VOLUME_NORM)); in pa_source_enter_passthrough()
1448 pa_cvolume_set(v, to->channels, pa_cvolume_max(v)); in cvolume_remap_minimal_impact()
Dsink.c1699 pa_cvolume_set(&volume, s->sample_spec.channels, PA_MIN(s->base_volume, PA_VOLUME_NORM)); in pa_sink_enter_passthrough()
1885 pa_cvolume_set(v, to->channels, pa_cvolume_max(v)); in cvolume_remap_minimal_impact()
Dsink-input.c1326 pa_cvolume_set(&v->volume, i->sample_spec.channels, volume_factor->values[0]); in pa_sink_input_add_volume_factor()
/third_party/pulseaudio/src/
Dmap-file144 pa_cvolume_set;
/third_party/pulseaudio/src/modules/
Dmodule-match.c232 pa_cvolume_set(&cv, si->sample_spec.channels, r->volume); in sink_input_fixate_hook_callback()
Dmodule-solaris.c542pa_cvolume_set(&s->real_volume, s->sample_spec.channels, info.play.gain * PA_VOLUME_NORM / AUDIO_M… in sink_get_volume()
577pa_cvolume_set(&s->real_volume, s->sample_spec.channels, info.play.gain * PA_VOLUME_NORM / AUDIO_M… in source_get_volume()
Dmodule-waveout.c431 pa_cvolume_set(&s->real_volume, s->real_volume.channels, (left + right)/2); in sink_get_volume_cb()
Dmodule-stream-restore.c1738 pa_cvolume_set(&e.volume, 1, pa_sw_volume_from_dB(db)); in fill_db()
/third_party/pulseaudio/src/modules/bluetooth/
Dmodule-bluez5-device.c984 pa_cvolume_set(&s->real_volume, u->decoder_sample_spec.channels, volume); in source_set_volume_cb()
988 pa_cvolume_set(&s->soft_volume, u->decoder_sample_spec.channels, volume); in source_set_volume_cb()
1168 pa_cvolume_set(&s->real_volume, u->encoder_sample_spec.channels, volume); in sink_set_volume_cb()
1172 pa_cvolume_set(&s->soft_volume, u->encoder_sample_spec.channels, volume); in sink_set_volume_cb()
2201 pa_cvolume_set(&v, u->encoder_sample_spec.channels, volume); in transport_speaker_gain_changed_cb()
2228 pa_cvolume_set(&v, u->decoder_sample_spec.channels, volume); in transport_microphone_gain_changed_cb()
/third_party/gstreamer/gstplugins_good/ext/pulse/
Dpulseutil.c343 pa_cvolume_set (v, channels, pa_sw_volume_from_linear (volume)); in gst_pulse_cvolume_from_linear()
/third_party/pulseaudio/src/modules/raop/
Draop-sink.c372 pa_cvolume_set(&hw, s->sample_spec.channels, v); in sink_set_volume_cb()
/third_party/ffmpeg/libavdevice/
Dpulse_audio_enc.c338 pa_cvolume_set(&cvol, ss->channels, PA_VOLUME_NORM); in pulse_set_volume()
/third_party/pulseaudio/src/utils/
Dpacat.c490 …onnect_playback(stream, device, &buffer_attr, flags, volume_is_set ? pa_cvolume_set(&cv, sample_sp… in context_state_callback()
Dpactl.c926 pa_cvolume_set(&volume, supported, volume.values[0]); in fill_volume()
/third_party/pulseaudio/src/modules/echo-cancel/
Dmodule-echo-cancel.c1589 pa_cvolume_set(&vol, u->source->sample_spec.channels, v); in canceller_process_msg_cb()
1592 pa_cvolume_set(&vol, u->source_output->sample_spec.channels, v); in canceller_process_msg_cb()
/third_party/pulseaudio/vala/
Dlibpulse.vapi341 [CCode (cname="pa_cvolume_set")]