mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
channel/s to channel(s)
This commit is contained in:
parent
dee7674c7f
commit
a4264de3a8
1 changed files with 2 additions and 2 deletions
|
|
@ -887,8 +887,8 @@ static void fill_volume(pa_cvolume *cv, unsigned supported) {
|
||||||
if (volume.channels == 1) {
|
if (volume.channels == 1) {
|
||||||
pa_cvolume_set(&volume, supported, volume.values[0]);
|
pa_cvolume_set(&volume, supported, volume.values[0]);
|
||||||
} else if (volume.channels != supported) {
|
} else if (volume.channels != supported) {
|
||||||
pa_log(ngettext("Failed to set volume: You tried to set volumes for %d channel, whereas channel/s supported = %d\n",
|
pa_log(ngettext("Failed to set volume: You tried to set volumes for %d channel, whereas channel(s) supported = %d\n",
|
||||||
"Failed to set volume: You tried to set volumes for %d channels, whereas channel/s supported = %d\n",
|
"Failed to set volume: You tried to set volumes for %d channels, whereas channel(s) supported = %d\n",
|
||||||
volume.channels),
|
volume.channels),
|
||||||
volume.channels, supported);
|
volume.channels, supported);
|
||||||
quit(1);
|
quit(1);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue