Commit 5aae5606 authored by Max Kellermann's avatar Max Kellermann

pcm/Prng: make pcm_prng() inline

parent 86e72ffe
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment