diff options
author | Max Kellermann <max@duempel.org> | 2009-01-07 18:07:19 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-07 18:07:19 +0100 |
commit | b7b5e3f9c30a9ed898cddb1b5e4b471750824600 (patch) | |
tree | 2d9863407c34b3e4bbac29833022ccf9c654343a /src/pcm_prng.h | |
parent | 3fd1fa31ca26c0cbf0f74a1f11dbaeaa176ab6ff (diff) | |
download | mpd-b7b5e3f9c30a9ed898cddb1b5e4b471750824600.tar.gz mpd-b7b5e3f9c30a9ed898cddb1b5e4b471750824600.tar.xz mpd-b7b5e3f9c30a9ed898cddb1b5e4b471750824600.zip |
pcm_prng: renamed prng() to pcm_prng()
Diffstat (limited to 'src/pcm_prng.h')
-rw-r--r-- | src/pcm_prng.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pcm_prng.h b/src/pcm_prng.h index e961baacd..f39d4c096 100644 --- a/src/pcm_prng.h +++ b/src/pcm_prng.h @@ -23,7 +23,8 @@ * A very simple linear congruential PRNG. It's good enough for PCM * dithering. */ -static unsigned long prng(unsigned long state) +static unsigned long +pcm_prng(unsigned long state) { return (state * 0x0019660dL + 0x3c6ef35fL) & 0xffffffffL; } |