Opened 10 years ago

Last modified 19 months ago

#11600 assigned bug

BGameSound can't pan or gain 1-channel sounds.

Reported by: pulkomandy Owned by:
Priority: normal Milestone: R1
Component: Kits/Game Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

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.

Change History (2)

comment:1 by jackburton, 2 years ago

Owner: jackburton removed
Status: newassigned

comment:2 by humdinger, 19 months ago

Since I stumbled into this issue recently (see Forum thread), I wanted to file a ticket for it, and found this one.

So, a little bump as possibly after 8 years people aren't aware of this limitation.

Is anyone interested and capable to fix this? I'm interested to see this fixed, but am unfortunately utterly incapable... :)
Changing volume and panning for any sound-format/channel-count would be extremely useful for these easy-to-use GameKit classes.

Note: See TracTickets for help on using tickets.