From 23444056061821e33217086a603bff7e7745d677 Mon Sep 17 00:00:00 2001 From: David Reid Date: Sat, 7 Mar 2020 08:08:53 +1000 Subject: [PATCH] Minor documentation update. --- miniaudio.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/miniaudio.h b/miniaudio.h index 04b52937..eb1a0ff2 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -147,9 +147,8 @@ These filters all support 32-bit floating point and 16-bit signed integer format Sine, Square, Triangle and Sawtooth Waveforms --------------------------------------------- Previously miniaudio supported only sine wave generation. This has now been generalized to support sine, square, triangle and sawtooth waveforms. The old -`ma_sine_wave` API has been removed and replaced with the `ma_waveform` API. Use `ma_waveform_init()` to initialize the waveform. Here you specify the type of -waveform you want to generated via the `ma_waveform_config` object which you can initialize with `ma_waveform_config_init()`. You then read data using -`ma_waveform_read_pcm_frames()`. +`ma_sine_wave` API has been removed and replaced with the `ma_waveform` API. Use `ma_waveform_config_init()` to initialize a config object, and then pass it +into `ma_waveform_init()`. Then use `ma_waveform_read_pcm_frames()` to read PCM data. Noise Generation