diff options
author | Chris Robinson <[email protected]> | 2010-04-20 03:57:40 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-04-20 03:57:40 -0700 |
commit | a04dac670ed89aabe05cdfd45649bb4c85b90bda (patch) | |
tree | 8c10998cbda049b4e87fc23350edbaf95c2a766c /OpenAL32/Include | |
parent | 81dd71dd71aa1b11d3304265acd0728659465ab1 (diff) |
Make stereo duplication a property of the device
Further, don't use it with mono/stereo output
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alMain.h | 3 | ||||
-rw-r--r-- | OpenAL32/Include/alu.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index c7f4bd72..992ccfec 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -272,6 +272,9 @@ struct ALCdevice_struct // Simulated dampening from head occlusion ALfloat HeadDampen; + // Duplicate stereo sources on the side/rear channels + ALboolean DuplicateStereo; + // Dry path buffer mix float DryBuffer[BUFFERSIZE][OUTPUTCHANNELS]; diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index 32b411d5..62b6fbe7 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -76,8 +76,6 @@ typedef enum { #define BUFFERSIZE 16384 -extern ALboolean DuplicateStereo; - /* NOTE: The AL_FORMAT_REAR* enums aren't handled here be cause they're * converted to AL_FORMAT_QUAD* when loaded */ static __inline ALuint aluBytesFromFormat(ALenum format) |