I occasionally get this on my laptop. A couple things seem to fix it:
1. Stop & Start the audio engine (the left most icon under the time display) after Sonar has started up; or
2. Re-install your audio driver: Within Windows Explorer, right click on My PC -> Manage, then uninstall your audio driver and then Find New Hardware to re-install it again (I had to do this after the most recent W10 upgrade).
After doing option 2, I find I no longer need to do option 1 (until a windows update breaks it again).
The other thing that can cause this is if your file record bit depth/sample rate is different to the bit depth/sample rate of your project (Check Preferences->File->Audio Data and make sure it matches the bit depth/sample rate that is shown under the main time display).