Skip to content

Commit ba649ef

Browse files
authored
Fixed incorrect default audio channels config #2115 (#2124)
1 parent aa18ac7 commit ba649ef

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
- Fixed incorrect default audio channels config https://github.com/GrandOrgue/grandorgue/issues/2115
12
- Changed default sample rate, samples per buffer and interpolation type to 48000, 512 and Polyphase https://github.com/GrandOrgue/grandorgue/issues/2115
23
- Increased the maximum samples per buffer to 2048 https://github.com/GrandOrgue/grandorgue/issues/2115
34
- Increased the maximum supported sample rate to 192000 https://github.com/GrandOrgue/grandorgue/issues/2115

src/grandorgue/config/GOAudioDeviceConfig.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Copyright 2006 Milan Digital Audio LLC
3-
* Copyright 2009-2024 GrandOrgue contributors (see AUTHORS)
3+
* Copyright 2009-2025 GrandOrgue contributors (see AUTHORS)
44
* License GPL-2.0 or later
55
* (https://www.gnu.org/licenses/old-licenses/gpl-2.0.html).
66
*/
@@ -27,8 +27,8 @@ GOAudioDeviceConfig::GOAudioDeviceConfig(
2727
std::vector<GroupOutput> &leftOutput = m_ChannelOutputs[0];
2828
std::vector<GroupOutput> &rightOutput = m_ChannelOutputs[1];
2929
for (const auto &groupName : audioGroups) {
30-
leftOutput.emplace_back(groupName, true, DEFAULT_VOLUME);
31-
rightOutput.emplace_back(groupName, false, DEFAULT_VOLUME);
30+
leftOutput.emplace_back(groupName, DEFAULT_VOLUME, MUTE_VOLUME);
31+
rightOutput.emplace_back(groupName, MUTE_VOLUME, DEFAULT_VOLUME);
3232
}
3333
}
3434

0 commit comments

Comments
 (0)