Opened 5 years ago
BGameSound can't pan or gain 1-channel sounds.
|Reported by:||pulkomandy||Owned by:||jackburton|
|Has a Patch:||no||Platform:||All|
In hrev48486 the code path for 1-channel sounds was split apart to avoid trying to mix them as stereo and reading/writing outside the allowed buffers. However, with this change it is not possible anymore to pan and change the gain for 1-channel streams.
The BGamesound output should always be 2 channels, then, the 1-channel sound should be expanded to 2-channels while applying panning and gain multipliers as it is done for 2-channel audio.