mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
swap argument order of pa_cvolume_get_balance() to be a bit more systematic
This commit is contained in:
parent
df8ad5d18f
commit
5449d793ae
5 changed files with 16 additions and 16 deletions
|
|
@ -216,7 +216,7 @@ static void get_sink_info_callback(pa_context *c, const pa_sink_info *i, int is_
|
|||
pa_cvolume_snprint(cv, sizeof(cv), &i->volume),
|
||||
i->flags & PA_SINK_DECIBEL_VOLUME ? "\n\t " : "",
|
||||
i->flags & PA_SINK_DECIBEL_VOLUME ? pa_sw_cvolume_snprint_dB(cvdb, sizeof(cvdb), &i->volume) : "",
|
||||
pa_cvolume_get_balance(&i->channel_map, &i->volume),
|
||||
pa_cvolume_get_balance(&i->volume, &i->channel_map),
|
||||
pa_volume_snprint(v, sizeof(v), i->base_volume),
|
||||
i->flags & PA_SINK_DECIBEL_VOLUME ? "\n\t " : "",
|
||||
i->flags & PA_SINK_DECIBEL_VOLUME ? pa_sw_volume_snprint_dB(vdb, sizeof(vdb), i->base_volume) : "",
|
||||
|
|
@ -296,7 +296,7 @@ static void get_source_info_callback(pa_context *c, const pa_source_info *i, int
|
|||
pa_cvolume_snprint(cv, sizeof(cv), &i->volume),
|
||||
i->flags & PA_SOURCE_DECIBEL_VOLUME ? "\n\t " : "",
|
||||
i->flags & PA_SOURCE_DECIBEL_VOLUME ? pa_sw_cvolume_snprint_dB(cvdb, sizeof(cvdb), &i->volume) : "",
|
||||
pa_cvolume_get_balance(&i->channel_map, &i->volume),
|
||||
pa_cvolume_get_balance(&i->volume, &i->channel_map),
|
||||
pa_volume_snprint(v, sizeof(v), i->base_volume),
|
||||
i->flags & PA_SOURCE_DECIBEL_VOLUME ? "\n\t " : "",
|
||||
i->flags & PA_SOURCE_DECIBEL_VOLUME ? pa_sw_volume_snprint_dB(vdb, sizeof(vdb), i->base_volume) : "",
|
||||
|
|
@ -483,7 +483,7 @@ static void get_sink_input_info_callback(pa_context *c, const pa_sink_input_info
|
|||
pa_yes_no(i->mute),
|
||||
pa_cvolume_snprint(cv, sizeof(cv), &i->volume),
|
||||
pa_sw_cvolume_snprint_dB(cvdb, sizeof(cvdb), &i->volume),
|
||||
pa_cvolume_get_balance(&i->channel_map, &i->volume),
|
||||
pa_cvolume_get_balance(&i->volume, &i->channel_map),
|
||||
(double) i->buffer_usec,
|
||||
(double) i->sink_usec,
|
||||
i->resample_method ? i->resample_method : _("n/a"),
|
||||
|
|
@ -584,7 +584,7 @@ static void get_sample_info_callback(pa_context *c, const pa_sample_info *i, int
|
|||
pa_sample_spec_valid(&i->sample_spec) ? pa_channel_map_snprint(cm, sizeof(cm), &i->channel_map) : _("n/a"),
|
||||
pa_cvolume_snprint(cv, sizeof(cv), &i->volume),
|
||||
pa_sw_cvolume_snprint_dB(cvdb, sizeof(cvdb), &i->volume),
|
||||
pa_cvolume_get_balance(&i->channel_map, &i->volume),
|
||||
pa_cvolume_get_balance(&i->volume, &i->channel_map),
|
||||
(double) i->duration/1000000.0,
|
||||
t,
|
||||
pa_yes_no(i->lazy),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue