Closed fabitom closed 4 years ago
Thank you for the pull request.
How about the backward compatibility if the new setBalance
is not used at all in the code.
Is there a possibility to set some default initial value? Or it's not mandatory to set.
How does it behave?
Thank you for the pull request. How about the backward compatibility if the new
setBalance
is not used at all in the code. Is there a possibility to set some default initial value?
there is, if curbalance = 0 then the function will generate same result. Only map function will be execute two times (separate for left and right channel).
Edit: Right, its not static. We should be safe now.
Ah ok, I see curbalance is initialized with zero.
Enhancement for adjusting the left and right volume balance. According to documentation the lowest value (total silence) for SCI_VOL is 0xFEFE (instead FFFF) so I also modify map function.