// System.out.println("Seek to: " + pos);
inputFile.seek(pos);
// decoder.getBitInputStream().skipBitsNoCRC(1);
decoder.getBitInputStream().reset();
Frame frame = decoder.readNextFrame();
// System.out.println("Found: " + frame.header.sampleNumber);
if (frame.header.sampleNumber <= target_sample &&
target_sample <= frame.header.sampleNumber + frame.header.blockSize) {
// System.out.println("Done seeking");
offset = (int) (target_sample - frame.header.sampleNumber) * frame.header.channels * frame.header.bitsPerSample / 8;