In Pro Tools First, selecting “Optimize for Recording” sets the audio device buffer size to 64 samples. Selecting “Optimize for Mixing” sets the buffer size to 512 samples.
On windows, you can override this with a custom buffer size selection by going to menu Setup > Hardware. Clicking the button will bring up the H224 buffer select dialog.