aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alc.cpp
diff options
context:
space:
mode:
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