MCPcopy Create free account
hub / github.com/davy7125/polyphone / getOutputFileFullPath

Method getOutputFileFullPath

sources/options.cpp:276–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274}
275
276QString Options::getOutputFileFullPath()
277{
278 QString strTmp = _outputDirectory;
279 if (!strTmp.endsWith('/'))
280 strTmp += '/';
281
282 // Extension
283 QString extension = "";
284 switch (_mode)
285 {
286 case MODE_CONVERSION_TO_SF2:
287 extension = ".sf2";
288 break;
289 case MODE_CONVERSION_TO_SF3:
290 extension = ".sf3";
291 break;
292 case MODE_CONVERSION_TO_SFZ:
293 extension = ".sfz";
294 break;
295 case MODE_CONVERSION_TO_CSV:
296 extension = ".csv";
297 break;
298 default:
299 break;
300 }
301
302 return strTmp + _outputFile + extension;
303}
304
305QString Options::getInputFilesAsString()
306{

Callers 1

convertFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected