Commit Graph

10 Commits

Author SHA1 Message Date
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 cf024cb71f Fix an error in the simple_mixing example.
Public issue https://github.com/mackron/miniaudio/issues/388
2022-01-01 07:42:42 +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 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 4b23beb1f0 Fix example from recent API change. 2020-06-23 20:29:20 +10:00
David Reid df94bce3e4 Update examples. 2020-02-03 20:20:43 +10:00
David Reid 971eb610c0 Update examples to C89. 2019-05-05 19:03:26 +10:00
David Reid bdbfc32426 Fix typos. 2019-04-26 21:53:32 +10:00
David Reid e1eb387acf Add simple_mixing example. 2019-03-17 12:49:47 +10:00