update the acquireDirect API

size_t offset is no more - it is always 0
This commit is contained in:
tildearrow 2025-03-05 18:57:17 -05:00
parent bc9dd4c2e7
commit 68a550a419
15 changed files with 34 additions and 44 deletions

View file

@ -653,10 +653,9 @@ class DivDispatch {
/**
* fill a buffer with sound data (direct access to blip_buf).
* @param bb pointers to blip_buf instances.
* @param the offset to the first sample (use this when calling blip_add_delta).
* @param len the amount of samples to fill.
*/
virtual void acquireDirect(blip_buffer_t** bb, size_t off, size_t len);
virtual void acquireDirect(blip_buffer_t** bb, size_t len);
/**
* post-process a rendered sound buffer.