AudioCDs are not currently seekable :-(

This commit is contained in:
craig.p.drummond
2013-12-06 13:06:34 +00:00
committed by craig.p.drummond
parent 880c9fcd20
commit 6bcfed6f15

View File

@@ -349,7 +349,7 @@ void HttpSocket::readClient()
// }
cdparanoia.seek(firstSector, SEEK_SET);
ok=true;
writeMimeType(QLatin1String("audio/x-wav"), socket, totalSize+ExtractJob::constWavHeaderSize, true);
writeMimeType(QLatin1String("audio/x-wav"), socket, totalSize+ExtractJob::constWavHeaderSize, false);
if (0==readBytesFrom) { // Only write header if we are not seeking...
ExtractJob::writeWavHeader(*socket, totalSize);
}