aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-12-22 16:11:18 +0100
committerMax Kellermann <max@duempel.org>2013-12-22 21:20:38 +0100
commit5aae560683318b870df9989cdcc2ac576626b234 (patch)
treeb6eeb574780f91a8315ea806896ad2088f2d657f /src
parent86e72ffefb886f6151add595fa33028859249d59 (diff)
downloadmpd-5aae560683318b870df9989cdcc2ac576626b234.tar.gz
mpd-5aae560683318b870df9989cdcc2ac576626b234.tar.xz
mpd-5aae560683318b870df9989cdcc2ac576626b234.zip
pcm/Prng: make pcm_prng() inline
Diffstat (limited to 'src')
-rw-r--r--src/pcm/PcmPrng.hxx2
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;