From 5aae560683318b870df9989cdcc2ac576626b234 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 22 Dec 2013 16:11:18 +0100 Subject: pcm/Prng: make pcm_prng() inline --- src/pcm/PcmPrng.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3