mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-08 07:30:33 -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 {
|
||||
(*iter) += value.left * vol[0];
|
||||
++iter;
|
||||
(*iter) += value.right * vol[0];
|
||||
++iter;
|
||||
(*iter) += value.right * vol[1];
|
||||
std::advance(iter, channels-1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue