Setting channels and samplerate when loading from local db