aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_dither.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pcm_dither.c')
-rw-r--r--src/pcm_dither.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcm_dither.c b/src/pcm_dither.c
index 984949685..2b4c8ab50 100644
--- a/src/pcm_dither.c
+++ b/src/pcm_dither.c
@@ -43,7 +43,7 @@ pcm_dither_sample_24_to_16(int32_t sample, struct pcm_dither_24 *dither)
/* round */
output = sample + round;
- rnd = prng(dither->random);
+ rnd = pcm_prng(dither->random);
output += (rnd & mask) - (dither->random & mask);
dither->random = rnd;