@Daniel_Bennett wrote:
Hi,
is it possible to retrieve the settings (buffer, sample rate etc.) from the audio device?the audio examples in OF show buffer length defined ahead of time, hard coded in the program. I had been working this way and it worked fine until I changed my ASIO driver today.
I have a audio-event timing things running in the audio thread, and now if my ASIO driver is not set to the same buffer length I hard-coded in the program, audio events either speed up or slow down - presumably because the device is not using the buffer length requested by OF.
I have reasons to want to use this new driver, so is it possible to retrieve the settings (buffer, sample rate etc.) from the device so I can set the buffer length correctly on startup and make sure my audio event timing is correct regardless of the device's buffer length?
Thanks
Posts: 3
Participants: 2