I hope I'm doing this right.
This adds an option to play music using a Super Stereo algorithm, which can be set under the OpenAL options menu (or via the snd_musicmode and snd_superstereowidth cvars). This is primarily for surround sound (or HRTF) output, as it takes the stereo signal and creates a continuous left to right soundfield around the listener, instead of simply being two points that produce phantom sounds in between. This allows making the music wider or narrower as desired, while maintaining a stable center.
This relies on the AL_SOFT_UHJ extension added in OpenAL Soft 1.22.0.
This is currently a draft as there also needs to be text additions, which I'm not sure how to do. The needed text strings for the menu are:
Code: Select all
OPTVAL_SUPERSTEREO = "Super Stereo" OPENALMNU_MUSICMODE = "Music Mode" OPENALMNU_SUPERSTEREOWIDTH = "Super Stereo Width"