mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-08 15:40:28 -04:00
#1 fix handling stereo wave on multichannel stream
This commit is contained in:
parent
d8ff3f4bff
commit
b22149a13a
1 changed files with 2 additions and 2 deletions
|
@ -91,8 +91,8 @@ public:
|
||||||
} else {
|
} else {
|
||||||
(*iter) += value.left * vol[0];
|
(*iter) += value.left * vol[0];
|
||||||
++iter;
|
++iter;
|
||||||
(*iter) += value.right * vol[0];
|
(*iter) += value.right * vol[1];
|
||||||
++iter;
|
std::advance(iter, channels-1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue