diff options
author | Max Kellermann <max@duempel.org> | 2013-12-22 16:11:18 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-12-22 21:20:38 +0100 |
commit | 5aae560683318b870df9989cdcc2ac576626b234 (patch) | |
tree | b6eeb574780f91a8315ea806896ad2088f2d657f /src/pcm/PcmPrng.hxx | |
parent | 86e72ffefb886f6151add595fa33028859249d59 (diff) |
pcm/Prng: make pcm_prng() inline
Diffstat (limited to 'src/pcm/PcmPrng.hxx')
-rw-r--r-- | src/pcm/PcmPrng.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcm/PcmPrng.hxx b/src/pcm/PcmPrng.hxx index 9b6ed7c9e..73b1456a8 100644 --- a/src/pcm/PcmPrng.hxx +++ b/src/pcm/PcmPrng.hxx @@ -24,7 +24,7 @@ * A very simple linear congruential PRNG. It's good enough for PCM * dithering. */ -constexpr static unsigned long +constexpr static inline unsigned long pcm_prng(unsigned long state) { return (state * 0x0019660dL + 0x3c6ef35fL) & 0xffffffffL; |