I had this problem today whilst installing Sonar on my new laptop. It wasn't the click track. It was the playback glitching, clicking and rattling. I put the buffer size to maximium but it was still happening.
I got round it by downloading the latest version of
ASIO4all (2.9 beta4) and installing it. I then opened Sonar 6, options, audio, advanced, then selecting ASIO in the driver mode drop down box. Then I closed Sonar and reopened it.
If you use one device for recording and playback it should work now but if like me you use seperate devices or if it doesn't work click, options, audio, general, ASIO panel, advanced options. Here you can select your inputs and outputs. Play around a bit here. Mine worked when the output of the playback device was selected and both the input and output of the recording device was selected.
ASIO4all sorted out my latency issues as well.
Hope it helped.