that's typically going to be a sampling rate mismatch or a clock sync problem. check the sampling rate on your layla and make sure it matches the project rate.
for clock sync problem - make sure in your settings you don't have the RECORDING and PLAYBACK DEVICES as 2 different soundcards. i.e. don't have your recording device set to the layla and your playback device set to your onboard soundcard or other.