[Openal] panning on positionless sources

Colin Walder cwalder at frd.co.uk
Mon Sep 25 08:03:29 PDT 2006


Hi All,

I'm experiencing a bit of oddness with positionless source which are still 
getting panned. I've set the source  AL_SOURCE_RELATIVE to 1 and zeroed 
the position and direction on the channel which works in my sfx 
auditioning tool (where I can vary the distance and direction) but in game 
these sounds still seem to experience panning. 

My best guess is that it must be something to do with the listener 
position changing (which happens in game but not in the audition) e.g. the 
sounds are played relative to the player at first but do not remain so 
(even though position of sources is updated every tick). The real nasty 
thing is that because the sounds are initially close to the listener 
point, the panning when the listener moves can be really extreme.

Has anyone else encoutered this or got any ideas about a solution? Our 
best tactic so for is to use stereo files instead although this can 
potentially be rather wasteful memory-wise so I'm keen to find a less 
hacky solution if there is one.

Cheers

Col



More information about the Openal mailing list