We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2ff4ab commit 2dce260Copy full SHA for 2dce260
src/subprojects/AutoEqIntegration/GzipDownloader.h
@@ -8,7 +8,6 @@
8
#include <QtPromise>
9
10
#define TMP_DIR "/tmp/jamesdsp/download/"
11
-#define CHUNK 16384
12
13
class GzipDownloader : public QObject
14
{
@@ -41,18 +40,6 @@ private slots:
41
40
42
void cleanup();
43
44
- /* Decompress from file source to file dest until stream ends or EOF. */
45
- /*inline void inflate(gzFile_s *source, FILE *dest)
46
- {
47
- unsigned char buf[CHUNK];
48
-
49
- for (
50
- int size = gzread(source, buf, CHUNK);
51
- size > 0;
52
- size = gzread(source, buf, CHUNK)
53
- ) std::fwrite(buf, 1, CHUNK, dest);
54
- }*/
55
56
private:
57
QDir extractionPath;
58
QFile downloadedFile;
0 commit comments