I know that for my Presonus audio interface that the range of allowable ASIO Buffer Size choices is limited by the Sample Rate, so if I am running at 48k Sample Rate I cannot set ASIO Buffer Size below 64. (I use 128) At 44.1 k I could go down to 32 for the ASIO Buffer Size. Each interface vendor does things a bit differently, but all kind of work the same way with ASIO, more or less.
Some interfaces control the ASIO Buffer Size using Number of Samples, or have choices for buffers using Milliseconds, which sounds like what you have. My interface Buffer Size setting of 128 at Sample Rate 48k corresponds to about 4.7 MS or 224 samples.
Also, you MUST have the Sample Rate settings in Sonar exactly match the Sample Rate settings for the audio interface.
My own settings, which work well for me, are:
Audio Interface: Sample Rate = 48 k, ASIO Buffer Size = 128.
Sonar: Driver Mode = ASIO, Sample Rate 48 k.
Resulting latency values in Sonar are:
Input: 4.7 ms, 224 samples
Output: 4.7 ms, 224 samples
Total Round trip: 9.3 ms, 448 samples
I have gone lower on the ASIO Buffer Size, but then face a bit of instability with the sound, so I backed it off to what is listed above, and this gives me no trouble at all - as well as no audible latency (that I can hear while playing)
Bob Bone