mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-24 01:04:02 +02:00
Minor documentation update.
This commit is contained in:
+2
-3
@@ -147,9 +147,8 @@ These filters all support 32-bit floating point and 16-bit signed integer format
|
|||||||
Sine, Square, Triangle and Sawtooth Waveforms
|
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
|
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
|
`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
|
||||||
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
|
into `ma_waveform_init()`. Then use `ma_waveform_read_pcm_frames()` to read PCM data.
|
||||||
`ma_waveform_read_pcm_frames()`.
|
|
||||||
|
|
||||||
|
|
||||||
Noise Generation
|
Noise Generation
|
||||||
|
|||||||
Reference in New Issue
Block a user