| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
#ifndef CSOUNDOPTIONS_H |
| 24 |
#define CSOUNDOPTIONS_H |
| 25 |
|
| 26 |
#include <QString> |
| 27 |
|
| 28 |
class ConfigLists; |
| 29 |
|
| 30 |
class CsoundOptions |
| 31 |
{ |
| 32 |
public: |
| 33 |
CsoundOptions(ConfigLists *configlists); |
| 34 |
|
| 35 |
QString generateCmdLineFlags(); |
| 36 |
QStringList generateCmdLineFlagsList(); |
| 37 |
int generateCmdLine(char **argv); |
| 38 |
|
| 39 |
void setJackNameSize(int size); |
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
QString docName; |
| 44 |
QString fileName1; |
| 45 |
QString fileName2; |
| 46 |
bool rt; |
| 47 |
|
| 48 |
bool enableFLTK; |
| 49 |
int bufferSize; |
| 50 |
bool bufferSizeActive; |
| 51 |
int HwBufferSize; |
| 52 |
bool HwBufferSizeActive; |
| 53 |
bool dither; |
| 54 |
bool sampleAccurateFlag; |
| 55 |
bool realtimeFlag; |
| 56 |
bool newParser; |
| 57 |
bool multicore; |
| 58 |
int numThreads; |
| 59 |
QString additionalFlags; |
| 60 |
bool additionalFlagsActive; |
| 61 |
|
| 62 |
bool fileUseOptions; |
| 63 |
bool fileOverrideOptions; |
| 64 |
bool fileAskFilename; |
| 65 |
bool filePlayFinished; |
| 66 |
int fileFileType; |
| 67 |
int fileSampleFormat; |
| 68 |
bool fileInputFilenameActive; |
| 69 |
QString fileInputFilename; |
| 70 |
bool fileOutputFilenameActive; |
| 71 |
QString fileOutputFilename; |
| 72 |
|
| 73 |
int sampleFormat; |
| 74 |
|
| 75 |
bool rtUseOptions; |
| 76 |
bool rtOverrideOptions; |
| 77 |
QString rtAudioModule; |
| 78 |
QString rtInputDevice; |
| 79 |
QString rtOutputDevice; |
| 80 |
QString rtJackName; |
| 81 |
QString rtMidiModule; |
| 82 |
QString rtMidiInputDevice; |
| 83 |
QString rtMidiOutputDevice; |
| 84 |
bool useSystemSamplerate; |
| 85 |
bool checkSyntaxOnly; |
| 86 |
bool checkSyntaxBeforeRun; |
| 87 |
int samplerate; |
| 88 |
bool overrideNumChannels; |
| 89 |
int numChannels; |
| 90 |
int numInputChannels; |
| 91 |
|
| 92 |
bool useLimiter; |
| 93 |
double limitValue; |
| 94 |
|
| 95 |
bool useCsoundMidi; |
| 96 |
bool simultaneousRun; |
| 97 |
|
| 98 |
QString csdocdir; |
| 99 |
QString opcodedir; |
| 100 |
bool opcodedirActive; |
| 101 |
QString opcodedir64; |
| 102 |
bool opcodedir64Active; |
| 103 |
QString opcode6dir64; |
| 104 |
bool opcode6dir64Active; |
| 105 |
QString sadir; |
| 106 |
bool sadirActive; |
| 107 |
QString ssdir; |
| 108 |
bool ssdirActive; |
| 109 |
QString sfdir; |
| 110 |
bool sfdirActive; |
| 111 |
QString incdir; |
| 112 |
bool incdirActive; |
| 113 |
QString rawWave; |
| 114 |
bool rawWaveActive; |
| 115 |
|
| 116 |
private: |
| 117 |
int m_jackNameSize; |
| 118 |
ConfigLists *m_configlists; |
| 119 |
}; |
| 120 |
|
| 121 |
#endif |