March 28, 2024, 08:29:37 am
0 Members and 1 Guest are viewing this topic.
- Make a log, you will see the supported devices and APIs. However, the easiest way is to define the API and latency to use. The default device of the selected API is then used.- WDM-KS should be the best option, which is _slightly_ better than WASAPI. MME is ancient, but actually seems to provide better latency than DirectSound under some circumstances on modern Windows systems, at least on my test rigs.- Regarding safe ranges - if everything works as it should, WASAPI/0.003334 or WDM-KS/0.001 should be safe.- When the API cannot use the specified latency, PA reverts to the default.- One thing to keep in mind with low-latency audio is that it is important to have as few other applications running when using it. For instance, only have MAME running, and if problems are encountered, try using -nosleep and -priority 1.couple examples below___________________________________________________# OSD SOUND OPTIONS#sound portaudioaudio_latency 1## PORTAUDIO OPTIONS#pa_api Windows WDM-KSpa_device none or default or "device name"pa_latency 0.001______________________________________________________# OSD SOUND OPTIONS#sound portaudioaudio_latency 1## PORTAUDIO OPTIONS#pa_api Windows WASAPIpa_device none or default or "device name"pa_latency 0.003334