mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
fix two typos
This commit is contained in:
parent
98821c783d
commit
fc3ff11418
2 changed files with 2 additions and 2 deletions
|
|
@ -929,7 +929,7 @@ static void sink_set_volume_cb(pa_sink *s) {
|
||||||
char t[PA_CVOLUME_SNPRINT_MAX];
|
char t[PA_CVOLUME_SNPRINT_MAX];
|
||||||
|
|
||||||
/* Match exactly what the user requested by software */
|
/* Match exactly what the user requested by software */
|
||||||
pa_sw_cvolume_divide(&s->soft_volume, &s->virtual_volume, &s->hardware_volume);
|
pa_sw_cvolume_divide(&s->soft_volume, &s->virtual_volume, &u->hardware_volume);
|
||||||
|
|
||||||
pa_log_debug("Requested volume: %s", pa_cvolume_snprint(t, sizeof(t), &s->virtual_volume));
|
pa_log_debug("Requested volume: %s", pa_cvolume_snprint(t, sizeof(t), &s->virtual_volume));
|
||||||
pa_log_debug("Got hardware volume: %s", pa_cvolume_snprint(t, sizeof(t), &u->hardware_volume));
|
pa_log_debug("Got hardware volume: %s", pa_cvolume_snprint(t, sizeof(t), &u->hardware_volume));
|
||||||
|
|
|
||||||
|
|
@ -876,7 +876,7 @@ static void source_set_volume_cb(pa_source *s) {
|
||||||
|
|
||||||
/* Match exactly what the user requested by software */
|
/* Match exactly what the user requested by software */
|
||||||
|
|
||||||
pa_sw_cvolume_divide(&s->soft_volume, &s->virtual_volume, &s->hardware_volume);
|
pa_sw_cvolume_divide(&s->soft_volume, &s->virtual_volume, &u->hardware_volume);
|
||||||
|
|
||||||
pa_log_debug("Requested volume: %s", pa_cvolume_snprint(t, sizeof(t), &s->virtual_volume));
|
pa_log_debug("Requested volume: %s", pa_cvolume_snprint(t, sizeof(t), &s->virtual_volume));
|
||||||
pa_log_debug("Got hardware volume: %s", pa_cvolume_snprint(t, sizeof(t), &u->hardware_volume));
|
pa_log_debug("Got hardware volume: %s", pa_cvolume_snprint(t, sizeof(t), &u->hardware_volume));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue