pcm/PcmPrng: add "constexpr"

This commit is contained in:
Max Kellermann 2013-12-02 09:03:32 +01:00
parent 1df426aa5c
commit c071d6d9f6

View File

@ -24,7 +24,7 @@
* A very simple linear congruential PRNG. It's good enough for PCM
* dithering.
*/
static unsigned long
constexpr static unsigned long
pcm_prng(unsigned long state)
{
return (state * 0x0019660dL + 0x3c6ef35fL) & 0xffffffffL;