Strange Recording latency after cursor


I succesfully used Cubase 4 on a windows 7 labtop. Since recently I get a strange Record Latency problem. The actual recordings starts some time after de cursor. You see the recording running but the actual wave file starts some time later than it should be. Very strange. Any suggestions or advise to solve this strange problem?

i included a pic to show you what the problem is. the end of the wavefile should be at the cursor. But you can see it lags behind. Or even better, considering the timeline, the actual wave file is ahead of the actual recording time. So instead of latency it is actually a the other way around.

Thanks in advance,