13 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 ce86d63181 Update simple_loopback example. 2021-07-28 17:34:54 +10:00
David Reid 29ef420ee1 API CHANGE: Update ma_decoder_read_pcm_frames().
This makes ma_decoder_read_pcm_frames() consistent with other data
sources. It now returns a result code and outputs the number of frames
read via an output parameter.
2021-07-04 17:23:53 +10:00
David Reid 595ba3f729 Update wording in example. 2021-06-24 18:52:33 +10:00
David Reid 3d82237ee2 Update documentation for examples. 2020-07-15 21:29:16 +10:00
David Reid 6f748942e6 Update examples and tests. 2020-06-24 19:37:46 +10:00
David Reid e438ab0c9c Update loopback example to use the ma_encoder API. 2020-04-23 17:30:49 +10:00
David Reid 63c5cf851e Fix a typo. 2020-04-09 07:53:38 +10:00
David Reid 86a0e65d02 Update examples. 2020-02-09 14:54:58 +10:00
David Reid 1ca6f80698 Fix some tests.
These compilation errors are a result of the recent change to dr_wav to
add support for allocation callbacks.
2019-10-19 07:46:44 +10:00
David Reid 3c68046fd3 Remove a debugging line from the loopback example. 2019-08-21 11:03:30 +10:00
David Reid 4edc39acd0 Add loopback example. 2019-08-21 11:00:06 +10:00