Does balance do anything?

Started by kchabot, 17 Jun '03 - 21:25

kchabot

Hi, me again :)

I use bass_channelsetatributes to set vol, pitch,... on a playing stream and it works except for the balance...

I understand that int -100 = left and 100 = right?

Well it does not change anything here :s it keeps playing in the middle. (The stream is stereo btw).
Pitch and volume work fine...

Ian @ un4seen

Are you using SPEAKER flags on the channel? If so, it's not possible to set the pan/balance position via the standard BASS_ChannelSetAttributes then. Instead, you could use a simple DSP function to do it - ie. scale the left/right samples as required.

kchabot

Ok, thx...
I didn't read that in the reference...