Author Topic: When to enable event-driven buffering(BASS_WASAPI_EVENT)?  (Read 109 times)

Ferry

  • Posts: 6
I am not sure if event-driven buffering is needed. What can I benefit from event-driven buffering?
« Last Edit: 4 Nov '24 - 10:37 by Ferry »

Ian @ un4seen

  • Administrator
  • Posts: 26172
Event-driven buffering generally allows you to have a smaller buffer for lower latency. That's because it tells you (via BASSWASAPI which calls your WASAPIPROC function) when more data is needed, which means your processing can be in sync with it.

Note BASS uses event-driven shared mode WASAPI itself these days, so you won't need BASSWASAPI for that. The main reason to use BASSWASAPI would be for exclusive mode.