AudioCDs are not currently seekable :-(
This commit is contained in:
committed by
craig.p.drummond
parent
880c9fcd20
commit
6bcfed6f15
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user