Experiment with the ' Use polling' and ' Use hardware buffer' switches (2 switches x 2 positions = 4 combinations) to see if you can minimize underruns should they occur.
A setting of around 20-40 ms is a good starting point, most users do not notice improved responsiveness below 10 ms, however the 'Primary Sound Driver' usually struggled to deliver latencies this low without underruns. Longer buffer settings mean lighter CPU load and more stable performance without underruns
Set the buffer length: Use the slider to change the buffer length.
Select a Windows DirectSound Driver - From the drop-down menu select a driver, usually ' Primary Sound Driver'.
mouse or hardware controllers) at the expense of a higher CPU load, and possibly underruns. Shorter settings make FL Studio more responsive to live inputs (e.g. The buffer is a 'breathing space' in which FL Studio can generate sound before sending it to the audio device. The DirectSound devices options will show information about the buffer length (latency) and some other settings used by the audio device driver.