From 2a765d6311b3f26e4175564b64f6b95419d14142 Mon Sep 17 00:00:00 2001 From: David Reid Date: Sun, 26 Apr 2020 08:39:57 +1000 Subject: [PATCH] Move struct ma_lcg to a more appropriate location. --- miniaudio.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/miniaudio.h b/miniaudio.h index 79ae35b5..0ca2c037 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -1871,6 +1871,11 @@ typedef struct void (* onFree)(void* p, void* pUserData); } ma_allocation_callbacks; +typedef struct +{ + ma_int32 state; +} ma_lcg; + /************************************************************************************************************************************************************** @@ -5441,11 +5446,6 @@ MA_API ma_result ma_waveform_set_sample_rate(ma_waveform* pWaveform, ma_uint32 s -typedef struct -{ - ma_int32 state; -} ma_lcg; - typedef enum { ma_noise_type_white,