Commit Graph

7 Commits

Author SHA1 Message Date
David Reid 369d3b8df7 Fix compilation errors with examples. 2021-07-31 10:22:20 +10:00
David Reid 82f3b0eb7a API CHANGE: Remove unnecessary parameter from ring buffers.
This removes the `pBufferOut` parameter from the following APIs:

  * ma_rb_commit_read
  * ma_rb_commit_write
  * ma_pcm_rb_commit_read
  * ma_pcm_rb_commit_write
2021-07-04 16:03:52 +10:00
David Reid 3d82237ee2 Update documentation for examples. 2020-07-15 21:29:16 +10:00
David Reid e0294ac74c Fix a bug in fixed_sized_callback.
This is uninitializing the ring buffer before the device which results
in a situation where a stray data callback may try touching the buffer
after it's be uninitialized.
2020-06-23 19:55:46 +10:00
David Reid ab8035d793 Fix fixed_size_callback example. 2020-03-03 18:20:53 +10:00
David Reid 86a0e65d02 Update examples. 2020-02-09 14:54:58 +10:00
David Reid bb22d85a71 Add an example for handling fixed sized callbacks. 2019-09-10 19:59:13 +10:00