#1 fix handling stereo wave on multichannel stream

This commit is contained in:
Ondrej Novak 2025-05-01 12:27:26 +02:00
parent d8ff3f4bff
commit b22149a13a

View file

@ -91,8 +91,8 @@ public:
} else {
(*iter) += value.left * vol[0];
++iter;
(*iter) += value.right * vol[0];
++iter;
(*iter) += value.right * vol[1];
std::advance(iter, channels-1);
}
}