Make sampleQueue thread safe
Avoid seeking if seekPosition==currentPosition