summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-06-15 00:01:14 +0200
committerCarl Hetherington <cth@carlh.net>2025-06-15 00:01:14 +0200
commit3487da1cc11f0d7b9463db84850185b2a5cf9d58 (patch)
tree708576231f5cb728afc863079332e65c504417fd /src
parentff0a329bf4e4527dcdda1b7fab9a592a2c8dbce5 (diff)
Index sound card channels from 1 (#3048).
Diffstat (limited to 'src')
-rw-r--r--src/wx/sound_preferences_page.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/sound_preferences_page.cc b/src/wx/sound_preferences_page.cc
index cf21474be..dd2130f59 100644
--- a/src/wx/sound_preferences_page.cc
+++ b/src/wx/sound_preferences_page.cc
@@ -194,7 +194,7 @@ SoundPage::config_changed()
vector<NamedChannel> output;
for (int i = 0; i < channels; ++i) {
- output.push_back(NamedChannel(fmt::to_string(i), i));
+ output.push_back(NamedChannel(fmt::to_string(i + 1), i));
}
_map->set_output_channels(output);