diff options
author | Chris Robinson <[email protected]> | 2017-05-23 00:02:04 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-05-23 00:35:22 -0700 |
commit | e6be113903e9a92734b1885b1506c8940940705f (patch) | |
tree | 52076c9082f76abede0d846939660dc82980b461 /OpenAL32/Include/alMain.h | |
parent | 49e5c535915f52b7888a884f4ed8925682336b28 (diff) |
Add an option to dither 8- and 16-bit output
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r-- | OpenAL32/Include/alMain.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index ec65c8fc..bbc24f89 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -798,6 +798,10 @@ struct ALCdevice_struct /* Delay buffers used to compensate for speaker distances. */ DistanceComp ChannelDelay[MAX_OUTPUT_CHANNELS]; + /* Dithering control. */ + bool DitherEnabled; + ALuint DitherSeed; + /* Running count of the mixer invocations, in 31.1 fixed point. This * actually increments *twice* when mixing, first at the start and then at * the end, so the bottom bit indicates if the device is currently mixing |