10 Commits

Author SHA1 Message Date
David Reid 1fbad32949 Stop using MINIAUDIO_IMPLEMENTATION in examples. 2025-02-22 13:09:11 +10:00
David Reid 766a155fb3 Stop using MA_ASSERT in examples.
This is useful because MA_ASSERT is only defined in the implementation
section of miniaudio.h which can cause issues when people copy/paste
the code and use it in a file that does not have visibility of the
implementation.

Note that there are still more references to implementation-defined
macros, but these have been moved to the public section in the dev-0.12
branch so I'm not bothering to change those just yet.

Public issue https://github.com/mackron/miniaudio/issues/787
2023-12-17 08:42:19 +10:00
David Reid 537c4ca36c Update the simple_playback_sine example. 2023-09-05 06:48:49 +10:00
David Reid 1f37940923 Minor improvement to the simple_playback_sine example. 2023-02-28 11:23:24 +10:00
David Reid 369d3b8df7 Fix compilation errors with examples. 2021-07-31 10:22:20 +10:00
David Reid 3d82237ee2 Update documentation for examples. 2020-07-15 21:29:16 +10:00
David Reid 82a1410ec5 Fix compilation errors with MA_NO_DECODING and MA_NO_ENCODING. 2020-06-25 06:54:28 +10:00
David Reid 117b1b8595 Update waveform API to be consistent with other APIs. 2020-02-22 10:06:14 +10:00
David Reid 8a7a65c271 API CHANGE: Replace ma_sine_wave with ma_waveform.
The ma_waveform API is a more general API supporting different waveform
including sine, square, triangle and sawtooth.
2020-02-18 20:46:36 +10:00
David Reid dedd68f5be Rename example. 2020-02-10 18:54:28 +10:00