AudioCDs are not currently seekable :-(

This commit is contained in:
craig.p.drummond
2013-12-06 13:06:34 +00:00
parent 65ce77fd38
commit a48f1b9d89

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);
}