From db3cb23c1d9508337852b1f9ca29bc74b6725e9f Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 7 May 2011 03:54:46 -0700 Subject: Add an option to reverse Z panning of mono sources Applications that are not built around OpenAL's orientation system need to convert their given vectors to it. Depending on how this is done, it can lead to proper stereo (left-right) panning with improper surround sound (front-back) panning, which thusly sounds correct with stereo output and incorrect with 4+ channel output. This option is intended to help fix playback of such applications on surround sound systems, without having to resort to forcing stereo output. --- OpenAL32/Include/alMain.h | 1 + 1 file changed, 1 insertion(+) (limited to 'OpenAL32/Include') diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index c4aad342..ec51eb44 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -604,6 +604,7 @@ void al_print(const char *fname, unsigned int line, const char *fmt, ...) #define AL_PRINT(...) al_print(__FILE__, __LINE__, __VA_ARGS__) extern ALdouble ConeScale; +extern ALdouble ZScale; #ifdef __cplusplus } -- cgit v1.2.3