Pop detection added

If the delta between two different samples is over 100, it's a bad
sample (pop/click) and wont be used.