Debian Codegraph @

include/engine/worker_singlefile.h

raw symbols SCIP
1 /* fre:ac - free audio converter
2 * Copyright (C) 2001-2018 Robert Kausch <[email protected]>
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation, either version 2 of
7 * the License, or (at your option) any later version.
8 *
9 * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
10 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
11 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */
12
13 #ifndef H_FREAC_CONVERT_WORKER_SINGLE_FILE
14 #define H_FREAC_CONVERT_WORKER_SINGLE_FILE
15
16 #include "worker.h"
17
18 namespace freac
19 {
20 class ConvertWorkerSingleFile : public ConvertWorker
21 {
22 private:
23 BoCA::Format format;
24
25 Encoder *encoder;
26 Processor *processor;
27
28 Int64 encodedSamples;
29 String encodeChecksum;
30
31 Int Convert();
32 public:
33 ConvertWorkerSingleFile(const BoCA::Config *, Int, const BoCA::Format &, Processor *, Encoder *);
34 ~ConvertWorkerSingleFile();
35 accessors:
36 Void SetEncodeChecksum(const String &nEncodeChecksum) { encodeChecksum = nEncodeChecksum; }
37
38 Void SetConversionStep(ConversionStep nConversionStep) { conversionStep = nConversionStep; }
39 };
40 };
41
42 #endif