[Openal] problems with surround under Linux
Prakash Punnoor
prakash at punnoor.de
Fri Nov 10 09:07:37 PST 2006
Am Freitag 10 November 2006 17:51 schrieb Sven Panne:
> Am Freitag, 10. November 2006 16:38 schrieb Prakash Punnoor:
> > I don't think so. Have you taken a look into alc_speaker.*? You will
> > notice only 2ch and 4ch are properly positioned. I know this, as i once
> > hacked it to get more. I would really like to have more flexible channel
> > output from the SI, but I think we need something more configureable than
> > current static speaker positions. Furthermore I'd like to distinguish
> > between channels OpenAL renders and Channels, which are given out - in
> > case of up/downmix.
>
> Hmmm, on a second look it seems like we both are right: _ALC_MAX_CHANNELS
> is 6, but alc_speaker.c positions only 2 or 4 speakers (in a fixed manner).
> Apart from being inflexible, this looks a bit strange.
>
> I agree that the SI should be a bit more flexible in this regard, probably
> somehow through .openalrc, but I don't fully understand your last sentence.
> Could you elaborate this a bit?
Currently you can set the number of output channels and this is the same
amount of channels openal renders. But eg if you have a dolby prologic (II)
decoder you need to render 4-5 channels which are downmixed to 2 channels
before they are given out to the soundcard. (Of course, a downmix routine is
missing, as well.)
--
(°= =°)
//\ Prakash Punnoor /\\
V_/ \_V
More information about the Openal
mailing list