From 79cca305d93dcbc665e5c85e53762f0f3df505cf Mon Sep 17 00:00:00 2001 From: David Reid Date: Sun, 1 Mar 2020 07:20:01 +1000 Subject: [PATCH] Minor rewording to documentation. --- miniaudio.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/miniaudio.h b/miniaudio.h index 2cdc746e..ef0cf71a 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -1267,8 +1267,8 @@ miniaudio supports generation of white, pink and brownian noise via the `ma_nois ma_noise_read_pcm_frames(&noise, pOutput, frameCount); ``` -The noise API uses simple LCG random number generation. It supports a custom seed which is useful for things like automated testing which often requires -reproducibility. Setting the seed to zero will default to MA_DEFAULT_LCG_SEED. +The noise API uses simple LCG random number generation. It supports a custom seed which is useful for things like automated testing requiring reproducibility. +Setting the seed to zero will default to MA_DEFAULT_LCG_SEED. By default, the noise API will use different values for different channels. So, for example, the left side in a stereo stream will be different to the right side. To instead have each channel use the same random value, set the `duplicateChannels` member of the noise config to true, like so: