aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alc.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-10-02 19:13:07 -0700
committerChris Robinson <[email protected]>2019-10-02 19:13:07 -0700
commit58085f1c7b64992065e65858d98acfd2c2db3514 (patch)
tree1e60a3475bd5df0d994bd7de202a13694cb5ce69 /alc/alc.cpp
parent50198ee30c86f566f538e2ffd763caaaba1c45d4 (diff)
Clean up some unnecessary includes
Diffstat (limited to 'alc/alc.cpp')
-rw-r--r--alc/alc.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/alc/alc.cpp b/alc/alc.cpp
index fad43f7b..03ed35cc 100644
--- a/alc/alc.cpp
+++ b/alc/alc.cpp
@@ -877,6 +877,9 @@ ALeffect DefaultEffect;
*/
bool SuspendDefers{true};
+/* Initial seed for dithering. */
+constexpr ALuint DitherRNGSeed{22222u};
+
/************************************************
* ALC information
@@ -1861,7 +1864,7 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList)
device->FixedLatency = nanoseconds::zero();
device->DitherDepth = 0.0f;
- device->DitherSeed = DITHER_RNG_SEED;
+ device->DitherSeed = DitherRNGSeed;
/*************************************************************************
* Update device format request if HRTF is requested