Fixed a bug that would cause the encoding job to fail, when an audio filter is *skipped*. If a filter is skipped, it did *not* write an output file. However, before this fix, the ProcessThread would try to continue with the (empty) output file, resulting in the subsequent encoder invocation to fail.

This commit is contained in:
LoRd_MuldeR 2016-11-12 16:49:29 +01:00
parent 2026be82dd
commit cde1950dde
26 changed files with 317 additions and 302 deletions

View File

@ -88,6 +88,7 @@
<li>Fixed the location of temporary intermediate files for SoX-based audio effects</li>
<li>Fixed embedding of meta tags with OggEnc2 when reading directly from OGG/FLAC input file</li>
<li>Fixed encoding of <em>non</em>-Stereo sources with NeroAAC, when &quot;HE-AAC <em>v2</em> (SBR+PS)&quot; is selected</li>
<li>Fixed a bug that would cause the encoding job to fail, when an audio filter is <em>skipped</em></li>
<li>Enabled the &quot;built-in&quot; resampler for QAAC encoder</li>
<li>The &quot;Algorithm Quality&quot; slider now also affects the QAAC encoder</li>
<li>Added &quot;AVX&quot; (Advanced Vector Extensions) to CPU feature detection code</li>

View File

@ -8,6 +8,7 @@
* Fixed the location of temporary intermediate files for SoX-based audio effects
* Fixed embedding of meta tags with OggEnc2 when reading directly from OGG/FLAC input file
* Fixed encoding of *non*-Stereo sources with NeroAAC, when "HE-AAC *v2* (SBR+PS)" is selected
* Fixed a bug that would cause the encoding job to fail, when an audio filter is *skipped*
* Enabled the "built-in" resampler for QAAC encoder
* The "Algorithm Quality" slider now also affects the QAAC encoder
* Added "AVX" (Advanced Vector Extensions) to CPU feature detection code

View File

@ -3017,102 +3017,102 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Aborted!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Done.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Failed!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="372"/>
<location filename="../../src/Thread_Process.cpp" line="375"/>
<source>Encoding</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="375"/>
<location filename="../../src/Thread_Process.cpp" line="378"/>
<source>Analyzing</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="378"/>
<location filename="../../src/Thread_Process.cpp" line="381"/>
<source>Filtering</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="381"/>
<location filename="../../src/Thread_Process.cpp" line="384"/>
<source>Decoding</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="403"/>
<location filename="../../src/Thread_Process.cpp" line="406"/>
<source>The source audio file could not be found:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="411"/>
<location filename="../../src/Thread_Process.cpp" line="414"/>
<source>The source audio file could not be opened for reading:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="439"/>
<location filename="../../src/Thread_Process.cpp" line="442"/>
<source>The target output directory doesn&apos;t exist and could NOT be created:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="448"/>
<location filename="../../src/Thread_Process.cpp" line="451"/>
<source>The target output directory is NOT writable:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="514"/>
<location filename="../../src/Thread_Process.cpp" line="517"/>
<source>Unknown File Name</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="516"/>
<location filename="../../src/Thread_Process.cpp" line="519"/>
<source>Unknown Title</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="517"/>
<location filename="../../src/Thread_Process.cpp" line="520"/>
<source>Unknown Artist</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="518"/>
<location filename="../../src/Thread_Process.cpp" line="521"/>
<source>Unknown Album</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="520"/>
<location filename="../../src/Thread_Process.cpp" line="523"/>
<source>Unknown Comment</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="466"/>
<location filename="../../src/Thread_Process.cpp" line="469"/>
<source>Target output file already exists, going to skip this file:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="467"/>
<location filename="../../src/Thread_Process.cpp" line="470"/>
<source>If you don&apos;t want existing files to be skipped, please change the overwrite mode!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="474"/>
<location filename="../../src/Thread_Process.cpp" line="477"/>
<source>Target output file already exists, going to delete existing file:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="488"/>
<location filename="../../src/Thread_Process.cpp" line="491"/>
<source>Failed to delete existing target file, will save to another file name!</source>
<translation type="unfinished"></translation>
</message>

View File

@ -3015,82 +3015,82 @@
<translation>Nicht unterstützt!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Done.</source>
<translation>Fertig.</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Aborted!</source>
<translation>Abgebrochen!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Failed!</source>
<translation>Fehler!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="372"/>
<location filename="../../src/Thread_Process.cpp" line="375"/>
<source>Encoding</source>
<translation>Kodiere</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="378"/>
<location filename="../../src/Thread_Process.cpp" line="381"/>
<source>Filtering</source>
<translation>Filtere</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="381"/>
<location filename="../../src/Thread_Process.cpp" line="384"/>
<source>Decoding</source>
<translation>Dekodiere</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="403"/>
<location filename="../../src/Thread_Process.cpp" line="406"/>
<source>The source audio file could not be found:</source>
<translation>Die Quell-Audiodatei konnte nicht gefunden werden:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="411"/>
<location filename="../../src/Thread_Process.cpp" line="414"/>
<source>The source audio file could not be opened for reading:</source>
<translation>Die Quell-Audiodatei konnte nicht zum Lesen geöffnet werden:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="439"/>
<location filename="../../src/Thread_Process.cpp" line="442"/>
<source>The target output directory doesn&apos;t exist and could NOT be created:</source>
<translation>Das Zielverzeichnis existiert nicht und konnte nicht erstellt werden:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="448"/>
<location filename="../../src/Thread_Process.cpp" line="451"/>
<source>The target output directory is NOT writable:</source>
<translation>In das Zielverzeichnis kann nicht geschrieben werden:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="514"/>
<location filename="../../src/Thread_Process.cpp" line="517"/>
<source>Unknown File Name</source>
<translation>Unbekannter Dateiname</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="516"/>
<location filename="../../src/Thread_Process.cpp" line="519"/>
<source>Unknown Title</source>
<translation>Unbekannter Titel</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="517"/>
<location filename="../../src/Thread_Process.cpp" line="520"/>
<source>Unknown Artist</source>
<translation>Unbekannter Künstler</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="518"/>
<location filename="../../src/Thread_Process.cpp" line="521"/>
<source>Unknown Album</source>
<translation>Unbekanntes Album</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="520"/>
<location filename="../../src/Thread_Process.cpp" line="523"/>
<source>Unknown Comment</source>
<translation>Unbekannter Kommentar</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="375"/>
<location filename="../../src/Thread_Process.cpp" line="378"/>
<source>Analyzing</source>
<translation>Prüfe</translation>
</message>
@ -3106,22 +3106,22 @@
<translation>Übersprungen.</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="466"/>
<location filename="../../src/Thread_Process.cpp" line="469"/>
<source>Target output file already exists, going to skip this file:</source>
<translation>Zieldatei existiert bereits, die Datei wird übersprungen:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="467"/>
<location filename="../../src/Thread_Process.cpp" line="470"/>
<source>If you don&apos;t want existing files to be skipped, please change the overwrite mode!</source>
<translation>Wenn existierende Dateien nicht übersprungen werden sollen, ändern Sie bitte den Überschreiben-Modus!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="474"/>
<location filename="../../src/Thread_Process.cpp" line="477"/>
<source>Target output file already exists, going to delete existing file:</source>
<translation>Zieldatei existiert bereits, die Datei wird gelöscht und überschrieben:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="488"/>
<location filename="../../src/Thread_Process.cpp" line="491"/>
<source>Failed to delete existing target file, will save to another file name!</source>
<translation>Die existierende Datei konnte nicht gelöscht werden, ein anderer Dateiname wird gewählt!</translation>
</message>

View File

@ -3015,82 +3015,82 @@
<translation>¡No soportado!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Done.</source>
<translation>Finalizado.</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Aborted!</source>
<translation>¡Abortado!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Failed!</source>
<translation>¡Error!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="372"/>
<location filename="../../src/Thread_Process.cpp" line="375"/>
<source>Encoding</source>
<translation>Codificando</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="378"/>
<location filename="../../src/Thread_Process.cpp" line="381"/>
<source>Filtering</source>
<translation>Filtrando</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="381"/>
<location filename="../../src/Thread_Process.cpp" line="384"/>
<source>Decoding</source>
<translation>Decodificando</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="403"/>
<location filename="../../src/Thread_Process.cpp" line="406"/>
<source>The source audio file could not be found:</source>
<translation>No se encuentra el archivo de entrada:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="411"/>
<location filename="../../src/Thread_Process.cpp" line="414"/>
<source>The source audio file could not be opened for reading:</source>
<translation>No se puede abrir el archivo de entrada para su lectura:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="439"/>
<location filename="../../src/Thread_Process.cpp" line="442"/>
<source>The target output directory doesn&apos;t exist and could NOT be created:</source>
<translation>La carpeta de salida no existe y NO puede ser creada:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="448"/>
<location filename="../../src/Thread_Process.cpp" line="451"/>
<source>The target output directory is NOT writable:</source>
<translation>NO se puede escribir en la carpeta de salida:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="514"/>
<location filename="../../src/Thread_Process.cpp" line="517"/>
<source>Unknown File Name</source>
<translation>Nombre de archivo desconocido</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="516"/>
<location filename="../../src/Thread_Process.cpp" line="519"/>
<source>Unknown Title</source>
<translation>Título desconocido</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="517"/>
<location filename="../../src/Thread_Process.cpp" line="520"/>
<source>Unknown Artist</source>
<translation>Artista desconocido</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="518"/>
<location filename="../../src/Thread_Process.cpp" line="521"/>
<source>Unknown Album</source>
<translation>Álbum desconocido</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="520"/>
<location filename="../../src/Thread_Process.cpp" line="523"/>
<source>Unknown Comment</source>
<translation>Comentario desconocido</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="375"/>
<location filename="../../src/Thread_Process.cpp" line="378"/>
<source>Analyzing</source>
<translation>Analizando</translation>
</message>
@ -3106,22 +3106,22 @@
<translation>Omitidos.</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="466"/>
<location filename="../../src/Thread_Process.cpp" line="469"/>
<source>Target output file already exists, going to skip this file:</source>
<translation>El archivo de destino ya existe, se omitirá este archivo:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="467"/>
<location filename="../../src/Thread_Process.cpp" line="470"/>
<source>If you don&apos;t want existing files to be skipped, please change the overwrite mode!</source>
<translation>¡Si no quiere sobreescribir los archivos existentes, cambie el modo sobreescritura por favor!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="474"/>
<location filename="../../src/Thread_Process.cpp" line="477"/>
<source>Target output file already exists, going to delete existing file:</source>
<translation>El archivo de destino ya existe, se eliminará este archivo:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="488"/>
<location filename="../../src/Thread_Process.cpp" line="491"/>
<source>Failed to delete existing target file, will save to another file name!</source>
<translation>¡Error al eliminar el archivo de destino existente, se guardará con otro nombre!</translation>
</message>

View File

@ -3022,82 +3022,82 @@ Sélection automatique (par défaut)</translation>
<translation>Non supporté!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Done.</source>
<translation>Terminé.</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Aborted!</source>
<translation>Arrêté!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Failed!</source>
<translation>Échec!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="372"/>
<location filename="../../src/Thread_Process.cpp" line="375"/>
<source>Encoding</source>
<translation>Encodage</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="378"/>
<location filename="../../src/Thread_Process.cpp" line="381"/>
<source>Filtering</source>
<translation>Filtrage</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="381"/>
<location filename="../../src/Thread_Process.cpp" line="384"/>
<source>Decoding</source>
<translation>Décodage</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="403"/>
<location filename="../../src/Thread_Process.cpp" line="406"/>
<source>The source audio file could not be found:</source>
<translation>Le fichier audio source n&apos;a pas pu être trouvé:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="411"/>
<location filename="../../src/Thread_Process.cpp" line="414"/>
<source>The source audio file could not be opened for reading:</source>
<translation>Le fichier audio source n&apos;a pas pu être ouvert pour la lecture:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="439"/>
<location filename="../../src/Thread_Process.cpp" line="442"/>
<source>The target output directory doesn&apos;t exist and could NOT be created:</source>
<translation>Le répertoire de sortie cible n&apos;existe pas et ne peut PAS être créé:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="448"/>
<location filename="../../src/Thread_Process.cpp" line="451"/>
<source>The target output directory is NOT writable:</source>
<translation>Le répertoire de sortie cible n&apos;est pas accessible en écriture:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="514"/>
<location filename="../../src/Thread_Process.cpp" line="517"/>
<source>Unknown File Name</source>
<translation>Nom de fichier inconnu</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="516"/>
<location filename="../../src/Thread_Process.cpp" line="519"/>
<source>Unknown Title</source>
<translation>Titre inconnu</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="517"/>
<location filename="../../src/Thread_Process.cpp" line="520"/>
<source>Unknown Artist</source>
<translation>Artiste inconnu</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="518"/>
<location filename="../../src/Thread_Process.cpp" line="521"/>
<source>Unknown Album</source>
<translation>Album inconnu</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="520"/>
<location filename="../../src/Thread_Process.cpp" line="523"/>
<source>Unknown Comment</source>
<translation>Commentaire inconnu</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="375"/>
<location filename="../../src/Thread_Process.cpp" line="378"/>
<source>Analyzing</source>
<translation>Analyse</translation>
</message>
@ -3114,22 +3114,22 @@ Sélection automatique (par défaut)</translation>
<translation>Ignoré.</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="466"/>
<location filename="../../src/Thread_Process.cpp" line="469"/>
<source>Target output file already exists, going to skip this file:</source>
<translation>Le fichier de sortie existe déjà, il sera ignoré :</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="467"/>
<location filename="../../src/Thread_Process.cpp" line="470"/>
<source>If you don&apos;t want existing files to be skipped, please change the overwrite mode!</source>
<translation>Si vous ne voulez pas ignorer les fichiers existants, veuillez changer le mode de remplacement !</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="474"/>
<location filename="../../src/Thread_Process.cpp" line="477"/>
<source>Target output file already exists, going to delete existing file:</source>
<translation>Le fichier de sortie existe déjà, il sera supprimé :</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="488"/>
<location filename="../../src/Thread_Process.cpp" line="491"/>
<source>Failed to delete existing target file, will save to another file name!</source>
<translation>Impossible de supprimer le fichier cible existant, il sera enregistré sous un autre nom !</translation>
</message>

View File

@ -3017,102 +3017,102 @@
<translation>Nem támogatott!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Aborted!</source>
<translation>Megszakítva!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Done.</source>
<translation>Kész.</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Failed!</source>
<translation>Sikertelen!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="372"/>
<location filename="../../src/Thread_Process.cpp" line="375"/>
<source>Encoding</source>
<translation>Kódolás</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="375"/>
<location filename="../../src/Thread_Process.cpp" line="378"/>
<source>Analyzing</source>
<translation>Elemzés</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="378"/>
<location filename="../../src/Thread_Process.cpp" line="381"/>
<source>Filtering</source>
<translation>Szűrés</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="381"/>
<location filename="../../src/Thread_Process.cpp" line="384"/>
<source>Decoding</source>
<translation>Dekódolás</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="403"/>
<location filename="../../src/Thread_Process.cpp" line="406"/>
<source>The source audio file could not be found:</source>
<translation>A forrás hangfájl nem található:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="411"/>
<location filename="../../src/Thread_Process.cpp" line="414"/>
<source>The source audio file could not be opened for reading:</source>
<translation>A forrás hangfájl nem nyitható meg olvasásra:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="439"/>
<location filename="../../src/Thread_Process.cpp" line="442"/>
<source>The target output directory doesn&apos;t exist and could NOT be created:</source>
<translation>A cél kimeneti könyvtár nem létezik, és NEM hozható létre:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="448"/>
<location filename="../../src/Thread_Process.cpp" line="451"/>
<source>The target output directory is NOT writable:</source>
<translation>A cél kimeneti könyvtár NEM írható:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="514"/>
<location filename="../../src/Thread_Process.cpp" line="517"/>
<source>Unknown File Name</source>
<translation>Ismeretlen fájlnév</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="516"/>
<location filename="../../src/Thread_Process.cpp" line="519"/>
<source>Unknown Title</source>
<translation>Ismeretlen cím</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="517"/>
<location filename="../../src/Thread_Process.cpp" line="520"/>
<source>Unknown Artist</source>
<translation>Ismeretlen előadó</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="518"/>
<location filename="../../src/Thread_Process.cpp" line="521"/>
<source>Unknown Album</source>
<translation>Ismeretlen album</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="520"/>
<location filename="../../src/Thread_Process.cpp" line="523"/>
<source>Unknown Comment</source>
<translation>Ismeretlen hozzászólás</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="466"/>
<location filename="../../src/Thread_Process.cpp" line="469"/>
<source>Target output file already exists, going to skip this file:</source>
<translation>A cél kimeneti fájl már létezik, ez a fájl ki lesz hagyva:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="467"/>
<location filename="../../src/Thread_Process.cpp" line="470"/>
<source>If you don&apos;t want existing files to be skipped, please change the overwrite mode!</source>
<translation>Ha nem szeretné a meglévő fájlokat kihagyni, kérjük, változtassa meg a felülírási módot!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="474"/>
<location filename="../../src/Thread_Process.cpp" line="477"/>
<source>Target output file already exists, going to delete existing file:</source>
<translation>A cél kimeneti fájl már létezik, a meglévő fájl törlésre kerül:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="488"/>
<location filename="../../src/Thread_Process.cpp" line="491"/>
<source>Failed to delete existing target file, will save to another file name!</source>
<translation>Nem sikerült törölni a meglévő cél fájlt. Az állomány másik fájlnéven lesz elmentve!</translation>
</message>

View File

@ -3082,83 +3082,83 @@
<translation>Non Supportato!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Done.</source>
<translation>Fatto.</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Aborted!</source>
<translation>Processo Annullato!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Failed!</source>
<translation>Fallito!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="372"/>
<location filename="../../src/Thread_Process.cpp" line="375"/>
<source>Encoding</source>
<translation>Codifica in corso</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="378"/>
<location filename="../../src/Thread_Process.cpp" line="381"/>
<source>Filtering</source>
<translation>Filtraggio in corso</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="381"/>
<location filename="../../src/Thread_Process.cpp" line="384"/>
<source>Decoding</source>
<translation>Decodifica in corso</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="403"/>
<location filename="../../src/Thread_Process.cpp" line="406"/>
<source>The source audio file could not be found:</source>
<translation>Il file audio sorgente non può essere trovato:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="411"/>
<location filename="../../src/Thread_Process.cpp" line="414"/>
<source>The source audio file could not be opened for reading:</source>
<translation>Il file audio sorgente non può essere aperto per la lettura:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="439"/>
<location filename="../../src/Thread_Process.cpp" line="442"/>
<source>The target output directory doesn&apos;t exist and could NOT be created:</source>
<translation>La cartella di destinazione assegnata non esiste e NON può essere creata:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="448"/>
<location filename="../../src/Thread_Process.cpp" line="451"/>
<source>The target output directory is NOT writable:</source>
<translatorcomment>La directory di destinazione assegnata è di SOLA LETTURA:</translatorcomment>
<translation>La directory di destinazione assegnata NON è scrivibile:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="514"/>
<location filename="../../src/Thread_Process.cpp" line="517"/>
<source>Unknown File Name</source>
<translation>Nome File Sconosciuto</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="516"/>
<location filename="../../src/Thread_Process.cpp" line="519"/>
<source>Unknown Title</source>
<translation>Titolo Sconosciuto</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="517"/>
<location filename="../../src/Thread_Process.cpp" line="520"/>
<source>Unknown Artist</source>
<translation>Artista Sconosciuto</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="518"/>
<location filename="../../src/Thread_Process.cpp" line="521"/>
<source>Unknown Album</source>
<translation>Album Sconosciuto</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="520"/>
<location filename="../../src/Thread_Process.cpp" line="523"/>
<source>Unknown Comment</source>
<translation>Commento Sconosciuto</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="375"/>
<location filename="../../src/Thread_Process.cpp" line="378"/>
<source>Analyzing</source>
<translation>Analisi in corso</translation>
</message>
@ -3174,22 +3174,22 @@
<translation>Saltato.</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="466"/>
<location filename="../../src/Thread_Process.cpp" line="469"/>
<source>Target output file already exists, going to skip this file:</source>
<translation>Il file di destinazione esiste già, questo file verrà saltato:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="467"/>
<location filename="../../src/Thread_Process.cpp" line="470"/>
<source>If you don&apos;t want existing files to be skipped, please change the overwrite mode!</source>
<translation>Se non vuoi saltare i file esistenti, cambia la modalità di sovrascrittura!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="474"/>
<location filename="../../src/Thread_Process.cpp" line="477"/>
<source>Target output file already exists, going to delete existing file:</source>
<translation>Il file di destinazione esiste già, il file esistente verrà eliminato:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="488"/>
<location filename="../../src/Thread_Process.cpp" line="491"/>
<source>Failed to delete existing target file, will save to another file name!</source>
<translation>Impossibile eliminare il file di destinazione esistente, il file verrà salvato con un altro nome!</translation>
</message>

View File

@ -3006,82 +3006,82 @@
<translation type="unfinished"> !</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Done.</source>
<translation type="unfinished">.</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Aborted!</source>
<translation type="unfinished">!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Failed!</source>
<translation type="unfinished">!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="372"/>
<location filename="../../src/Thread_Process.cpp" line="375"/>
<source>Encoding</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="378"/>
<location filename="../../src/Thread_Process.cpp" line="381"/>
<source>Filtering</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="381"/>
<location filename="../../src/Thread_Process.cpp" line="384"/>
<source>Decoding</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="403"/>
<location filename="../../src/Thread_Process.cpp" line="406"/>
<source>The source audio file could not be found:</source>
<translation type="unfinished"> :</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="411"/>
<location filename="../../src/Thread_Process.cpp" line="414"/>
<source>The source audio file could not be opened for reading:</source>
<translation type="unfinished"> :</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="439"/>
<location filename="../../src/Thread_Process.cpp" line="442"/>
<source>The target output directory doesn&apos;t exist and could NOT be created:</source>
<translation type="unfinished"> , :</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="448"/>
<location filename="../../src/Thread_Process.cpp" line="451"/>
<source>The target output directory is NOT writable:</source>
<translation type="unfinished"> :</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="514"/>
<location filename="../../src/Thread_Process.cpp" line="517"/>
<source>Unknown File Name</source>
<translation type="unfinished"> </translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="516"/>
<location filename="../../src/Thread_Process.cpp" line="519"/>
<source>Unknown Title</source>
<translation type="unfinished"> </translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="517"/>
<location filename="../../src/Thread_Process.cpp" line="520"/>
<source>Unknown Artist</source>
<translation type="unfinished"> </translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="518"/>
<location filename="../../src/Thread_Process.cpp" line="521"/>
<source>Unknown Album</source>
<translation type="unfinished"> </translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="520"/>
<location filename="../../src/Thread_Process.cpp" line="523"/>
<source>Unknown Comment</source>
<translation type="unfinished"> </translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="375"/>
<location filename="../../src/Thread_Process.cpp" line="378"/>
<source>Analyzing</source>
<translation type="unfinished"> </translation>
</message>
@ -3097,22 +3097,22 @@
<translation type="unfinished">.</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="466"/>
<location filename="../../src/Thread_Process.cpp" line="469"/>
<source>Target output file already exists, going to skip this file:</source>
<translation type="unfinished"> . :</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="467"/>
<location filename="../../src/Thread_Process.cpp" line="470"/>
<source>If you don&apos;t want existing files to be skipped, please change the overwrite mode!</source>
<translation type="unfinished"> , !</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="474"/>
<location filename="../../src/Thread_Process.cpp" line="477"/>
<source>Target output file already exists, going to delete existing file:</source>
<translation type="unfinished"> . :</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="488"/>
<location filename="../../src/Thread_Process.cpp" line="491"/>
<source>Failed to delete existing target file, will save to another file name!</source>
<translation type="unfinished"> . !</translation>
</message>

View File

@ -3034,102 +3034,102 @@
<translation type="unfinished">Nieobsługiwany!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Done.</source>
<translation type="unfinished">Zrobione.</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Aborted!</source>
<translation type="unfinished">Przerwano!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Failed!</source>
<translation type="unfinished">Niepowodzenie!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="372"/>
<location filename="../../src/Thread_Process.cpp" line="375"/>
<source>Encoding</source>
<translation type="unfinished">Kompresowanie</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="375"/>
<location filename="../../src/Thread_Process.cpp" line="378"/>
<source>Analyzing</source>
<translation type="unfinished">Analizowanie</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="378"/>
<location filename="../../src/Thread_Process.cpp" line="381"/>
<source>Filtering</source>
<translation type="unfinished">Filtrowanie</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="381"/>
<location filename="../../src/Thread_Process.cpp" line="384"/>
<source>Decoding</source>
<translation type="unfinished">Dekodowanie</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="403"/>
<location filename="../../src/Thread_Process.cpp" line="406"/>
<source>The source audio file could not be found:</source>
<translation type="unfinished">Źródłowy plik dźwiękowy nie został odnaleziony:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="411"/>
<location filename="../../src/Thread_Process.cpp" line="414"/>
<source>The source audio file could not be opened for reading:</source>
<translation type="unfinished">Źródłowy plik dźwiękowy nie mógł zostać otworzony:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="439"/>
<location filename="../../src/Thread_Process.cpp" line="442"/>
<source>The target output directory doesn&apos;t exist and could NOT be created:</source>
<translation type="unfinished">Lokalizacja docelowa nie istnieje lu NIE mogła zostać utworzona:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="448"/>
<location filename="../../src/Thread_Process.cpp" line="451"/>
<source>The target output directory is NOT writable:</source>
<translation type="unfinished">Nie można zapisać do lokalizacji docelowej:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="514"/>
<location filename="../../src/Thread_Process.cpp" line="517"/>
<source>Unknown File Name</source>
<translation type="unfinished">Nieznana nazwa pliku</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="516"/>
<location filename="../../src/Thread_Process.cpp" line="519"/>
<source>Unknown Title</source>
<translation type="unfinished">Nieznany Tytuł</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="517"/>
<location filename="../../src/Thread_Process.cpp" line="520"/>
<source>Unknown Artist</source>
<translation type="unfinished">Nieznany Artysta</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="518"/>
<location filename="../../src/Thread_Process.cpp" line="521"/>
<source>Unknown Album</source>
<translation type="unfinished">Nieznany Album</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="520"/>
<location filename="../../src/Thread_Process.cpp" line="523"/>
<source>Unknown Comment</source>
<translation type="unfinished">Nieznany Komentarz</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="466"/>
<location filename="../../src/Thread_Process.cpp" line="469"/>
<source>Target output file already exists, going to skip this file:</source>
<translation type="unfinished">Plik wynikowy już istnieje, zostanie pominięty plik:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="467"/>
<location filename="../../src/Thread_Process.cpp" line="470"/>
<source>If you don&apos;t want existing files to be skipped, please change the overwrite mode!</source>
<translation type="unfinished">Jeśli nie chcesz aby istniejące pliki były pomijane, zmień tryb nadpisywania!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="474"/>
<location filename="../../src/Thread_Process.cpp" line="477"/>
<source>Target output file already exists, going to delete existing file:</source>
<translation type="unfinished">Plik wynikowy już istnieje, zostanie usunięty plik:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="488"/>
<location filename="../../src/Thread_Process.cpp" line="491"/>
<source>Failed to delete existing target file, will save to another file name!</source>
<translation type="unfinished">Usuwanie istniejącego pliku zakończone niepowodzeniem, nowy plik zostanie zapisany pod inną nazwą!</translation>
</message>

View File

@ -3030,82 +3030,82 @@
<translation>Неподдерживается!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Done.</source>
<translation>Готово.</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Aborted!</source>
<translation>Прервано!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Failed!</source>
<translation>Ошибка!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="372"/>
<location filename="../../src/Thread_Process.cpp" line="375"/>
<source>Encoding</source>
<translation>Кодирование</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="378"/>
<location filename="../../src/Thread_Process.cpp" line="381"/>
<source>Filtering</source>
<translation>Фильтрация</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="381"/>
<location filename="../../src/Thread_Process.cpp" line="384"/>
<source>Decoding</source>
<translation>Декодирование</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="403"/>
<location filename="../../src/Thread_Process.cpp" line="406"/>
<source>The source audio file could not be found:</source>
<translation>Исходный аудио файл не найден:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="411"/>
<location filename="../../src/Thread_Process.cpp" line="414"/>
<source>The source audio file could not be opened for reading:</source>
<translation>Исходный аудио файл не может быть открыт:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="439"/>
<location filename="../../src/Thread_Process.cpp" line="442"/>
<source>The target output directory doesn&apos;t exist and could NOT be created:</source>
<translation>Папка для выходных файлов не существует и не может быть создана:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="448"/>
<location filename="../../src/Thread_Process.cpp" line="451"/>
<source>The target output directory is NOT writable:</source>
<translation>Папка для выходных файлов недоступна для записи:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="514"/>
<location filename="../../src/Thread_Process.cpp" line="517"/>
<source>Unknown File Name</source>
<translation>Неизвестное имя файла</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="516"/>
<location filename="../../src/Thread_Process.cpp" line="519"/>
<source>Unknown Title</source>
<translation>Неизвестное Название</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="517"/>
<location filename="../../src/Thread_Process.cpp" line="520"/>
<source>Unknown Artist</source>
<translation>Неизвестный Артист</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="518"/>
<location filename="../../src/Thread_Process.cpp" line="521"/>
<source>Unknown Album</source>
<translation>Неизвестный Альбом</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="520"/>
<location filename="../../src/Thread_Process.cpp" line="523"/>
<source>Unknown Comment</source>
<translation>Неизвестный Комментарий</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="375"/>
<location filename="../../src/Thread_Process.cpp" line="378"/>
<source>Analyzing</source>
<translation>Анализ</translation>
</message>
@ -3121,22 +3121,22 @@
<translation>Пропущен.</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="466"/>
<location filename="../../src/Thread_Process.cpp" line="469"/>
<source>Target output file already exists, going to skip this file:</source>
<translation>Файл уже существует, будет пропущен:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="467"/>
<location filename="../../src/Thread_Process.cpp" line="470"/>
<source>If you don&apos;t want existing files to be skipped, please change the overwrite mode!</source>
<translation>Если Вы не хотите пропускать уже существующие файлы, пожалуйста, измените режим перезаписи!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="474"/>
<location filename="../../src/Thread_Process.cpp" line="477"/>
<source>Target output file already exists, going to delete existing file:</source>
<translation>Файл уже существует, будет удалён:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="488"/>
<location filename="../../src/Thread_Process.cpp" line="491"/>
<source>Failed to delete existing target file, will save to another file name!</source>
<translation>Ошибка удаления существующего файла, будет сохранение с другим именем!</translation>
</message>

View File

@ -3027,102 +3027,102 @@
<translation>Stöd saknas!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Aborted!</source>
<translation>Avbruten!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Done.</source>
<translation>Klar.</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Failed!</source>
<translation>Misslyckades!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="372"/>
<location filename="../../src/Thread_Process.cpp" line="375"/>
<source>Encoding</source>
<translation>Kodar</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="375"/>
<location filename="../../src/Thread_Process.cpp" line="378"/>
<source>Analyzing</source>
<translation>Analyserar</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="378"/>
<location filename="../../src/Thread_Process.cpp" line="381"/>
<source>Filtering</source>
<translation>Filtrerar</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="381"/>
<location filename="../../src/Thread_Process.cpp" line="384"/>
<source>Decoding</source>
<translation>Avkodar</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="403"/>
<location filename="../../src/Thread_Process.cpp" line="406"/>
<source>The source audio file could not be found:</source>
<translation>Källfilen kan inte hittas:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="411"/>
<location filename="../../src/Thread_Process.cpp" line="414"/>
<source>The source audio file could not be opened for reading:</source>
<translation>Källfilen kan inte öppnas för läsning:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="439"/>
<location filename="../../src/Thread_Process.cpp" line="442"/>
<source>The target output directory doesn&apos;t exist and could NOT be created:</source>
<translation>Målmappen finns inte och kan inte skapas:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="448"/>
<location filename="../../src/Thread_Process.cpp" line="451"/>
<source>The target output directory is NOT writable:</source>
<translation>Målmappen är INTE skrivbar:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="514"/>
<location filename="../../src/Thread_Process.cpp" line="517"/>
<source>Unknown File Name</source>
<translation>Okänt filnamn</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="516"/>
<location filename="../../src/Thread_Process.cpp" line="519"/>
<source>Unknown Title</source>
<translation>Okänd titel</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="517"/>
<location filename="../../src/Thread_Process.cpp" line="520"/>
<source>Unknown Artist</source>
<translation>Okänd artist</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="518"/>
<location filename="../../src/Thread_Process.cpp" line="521"/>
<source>Unknown Album</source>
<translation>Okänt album</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="520"/>
<location filename="../../src/Thread_Process.cpp" line="523"/>
<source>Unknown Comment</source>
<translation>Okänd kommentar</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="466"/>
<location filename="../../src/Thread_Process.cpp" line="469"/>
<source>Target output file already exists, going to skip this file:</source>
<translation>Målfilen finns redan! Den här filen hoppas över:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="467"/>
<location filename="../../src/Thread_Process.cpp" line="470"/>
<source>If you don&apos;t want existing files to be skipped, please change the overwrite mode!</source>
<translation>Om du inte vill att befintliga filer hoppas över, måste du ändra överskrivningsläge!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="474"/>
<location filename="../../src/Thread_Process.cpp" line="477"/>
<source>Target output file already exists, going to delete existing file:</source>
<translation>Målfilen finns redan! Befintlig fil kommer att tas bort:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="488"/>
<location filename="../../src/Thread_Process.cpp" line="491"/>
<source>Failed to delete existing target file, will save to another file name!</source>
<translation>Kunde inte ta bort befintlig målfil. Sparar med annat filnamn!</translation>
</message>

View File

@ -3006,82 +3006,82 @@
<translation>!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Done.</source>
<translation>.</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Aborted!</source>
<translation>!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Failed!</source>
<translation>!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="372"/>
<location filename="../../src/Thread_Process.cpp" line="375"/>
<source>Encoding</source>
<translation></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="378"/>
<location filename="../../src/Thread_Process.cpp" line="381"/>
<source>Filtering</source>
<translation></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="381"/>
<location filename="../../src/Thread_Process.cpp" line="384"/>
<source>Decoding</source>
<translation></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="403"/>
<location filename="../../src/Thread_Process.cpp" line="406"/>
<source>The source audio file could not be found:</source>
<translation>:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="411"/>
<location filename="../../src/Thread_Process.cpp" line="414"/>
<source>The source audio file could not be opened for reading:</source>
<translation>:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="439"/>
<location filename="../../src/Thread_Process.cpp" line="442"/>
<source>The target output directory doesn&apos;t exist and could NOT be created:</source>
<translation>,:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="448"/>
<location filename="../../src/Thread_Process.cpp" line="451"/>
<source>The target output directory is NOT writable:</source>
<translation>:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="514"/>
<location filename="../../src/Thread_Process.cpp" line="517"/>
<source>Unknown File Name</source>
<translation></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="516"/>
<location filename="../../src/Thread_Process.cpp" line="519"/>
<source>Unknown Title</source>
<translation></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="517"/>
<location filename="../../src/Thread_Process.cpp" line="520"/>
<source>Unknown Artist</source>
<translation></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="518"/>
<location filename="../../src/Thread_Process.cpp" line="521"/>
<source>Unknown Album</source>
<translation></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="520"/>
<location filename="../../src/Thread_Process.cpp" line="523"/>
<source>Unknown Comment</source>
<translation></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="375"/>
<location filename="../../src/Thread_Process.cpp" line="378"/>
<source>Analyzing</source>
<translation></translation>
</message>
@ -3097,22 +3097,22 @@
<translation>.</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="466"/>
<location filename="../../src/Thread_Process.cpp" line="469"/>
<source>Target output file already exists, going to skip this file:</source>
<translation>, : </translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="467"/>
<location filename="../../src/Thread_Process.cpp" line="470"/>
<source>If you don&apos;t want existing files to be skipped, please change the overwrite mode!</source>
<translation>, !</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="474"/>
<location filename="../../src/Thread_Process.cpp" line="477"/>
<source>Target output file already exists, going to delete existing file:</source>
<translation>, : </translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="488"/>
<location filename="../../src/Thread_Process.cpp" line="491"/>
<source>Failed to delete existing target file, will save to another file name!</source>
<translation>, !</translation>
</message>

View File

@ -3023,82 +3023,82 @@
<translation>Не підтримується!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Done.</source>
<translation>Виконано.</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Aborted!</source>
<translation>Перервано!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Failed!</source>
<translation>Збій!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="372"/>
<location filename="../../src/Thread_Process.cpp" line="375"/>
<source>Encoding</source>
<translation>Кодування</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="378"/>
<location filename="../../src/Thread_Process.cpp" line="381"/>
<source>Filtering</source>
<translation>Фільтрування</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="381"/>
<location filename="../../src/Thread_Process.cpp" line="384"/>
<source>Decoding</source>
<translation>Декодування</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="403"/>
<location filename="../../src/Thread_Process.cpp" line="406"/>
<source>The source audio file could not be found:</source>
<translation>Неможливо знайти вхідний файл аудіо:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="411"/>
<location filename="../../src/Thread_Process.cpp" line="414"/>
<source>The source audio file could not be opened for reading:</source>
<translation>Неможливо відкрити для читання вхідний файл аудіо:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="439"/>
<location filename="../../src/Thread_Process.cpp" line="442"/>
<source>The target output directory doesn&apos;t exist and could NOT be created:</source>
<translation>Вихідної теки не існує і її неможливо створити:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="448"/>
<location filename="../../src/Thread_Process.cpp" line="451"/>
<source>The target output directory is NOT writable:</source>
<translation>До вихідної теки неможливо проводити запис:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="514"/>
<location filename="../../src/Thread_Process.cpp" line="517"/>
<source>Unknown File Name</source>
<translation>Невідома назва файла</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="516"/>
<location filename="../../src/Thread_Process.cpp" line="519"/>
<source>Unknown Title</source>
<translation>Невідомий заголовок</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="517"/>
<location filename="../../src/Thread_Process.cpp" line="520"/>
<source>Unknown Artist</source>
<translation>Невідомий виконавець</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="518"/>
<location filename="../../src/Thread_Process.cpp" line="521"/>
<source>Unknown Album</source>
<translation>Невідомий альбом</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="520"/>
<location filename="../../src/Thread_Process.cpp" line="523"/>
<source>Unknown Comment</source>
<translation>Невідомий коментар</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="375"/>
<location filename="../../src/Thread_Process.cpp" line="378"/>
<source>Analyzing</source>
<translation>Аналізування</translation>
</message>
@ -3114,22 +3114,22 @@
<translation>Пропущено.</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="466"/>
<location filename="../../src/Thread_Process.cpp" line="469"/>
<source>Target output file already exists, going to skip this file:</source>
<translation>Вихідний цільовий файл вже існує, спроба пропустити цей файл:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="467"/>
<location filename="../../src/Thread_Process.cpp" line="470"/>
<source>If you don&apos;t want existing files to be skipped, please change the overwrite mode!</source>
<translation>Якщо ви не хочете, щоб існуючі файли були пропущені, будь ласка, змініть режим перезапису!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="474"/>
<location filename="../../src/Thread_Process.cpp" line="477"/>
<source>Target output file already exists, going to delete existing file:</source>
<translation>Вихідний цільовий файл вже існує, спроба видалити існуючий файл:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="488"/>
<location filename="../../src/Thread_Process.cpp" line="491"/>
<source>Failed to delete existing target file, will save to another file name!</source>
<translation>Неможливо видалити існуючий файл, збереження буде проведено до файла з іншою назвою!</translation>
</message>

View File

@ -3006,82 +3006,82 @@
<translation>!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Done.</source>
<translation></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Aborted!</source>
<translation>!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="355"/>
<location filename="../../src/Thread_Process.cpp" line="358"/>
<source>Failed!</source>
<translation>!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="372"/>
<location filename="../../src/Thread_Process.cpp" line="375"/>
<source>Encoding</source>
<translation></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="378"/>
<location filename="../../src/Thread_Process.cpp" line="381"/>
<source>Filtering</source>
<translation></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="381"/>
<location filename="../../src/Thread_Process.cpp" line="384"/>
<source>Decoding</source>
<translation></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="403"/>
<location filename="../../src/Thread_Process.cpp" line="406"/>
<source>The source audio file could not be found:</source>
<translation>:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="411"/>
<location filename="../../src/Thread_Process.cpp" line="414"/>
<source>The source audio file could not be opened for reading:</source>
<translation>:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="439"/>
<location filename="../../src/Thread_Process.cpp" line="442"/>
<source>The target output directory doesn&apos;t exist and could NOT be created:</source>
<translation>:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="448"/>
<location filename="../../src/Thread_Process.cpp" line="451"/>
<source>The target output directory is NOT writable:</source>
<translation>:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="514"/>
<location filename="../../src/Thread_Process.cpp" line="517"/>
<source>Unknown File Name</source>
<translation></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="516"/>
<location filename="../../src/Thread_Process.cpp" line="519"/>
<source>Unknown Title</source>
<translation></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="517"/>
<location filename="../../src/Thread_Process.cpp" line="520"/>
<source>Unknown Artist</source>
<translation></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="518"/>
<location filename="../../src/Thread_Process.cpp" line="521"/>
<source>Unknown Album</source>
<translation></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="520"/>
<location filename="../../src/Thread_Process.cpp" line="523"/>
<source>Unknown Comment</source>
<translation></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="375"/>
<location filename="../../src/Thread_Process.cpp" line="378"/>
<source>Analyzing</source>
<translation></translation>
</message>
@ -3097,22 +3097,22 @@
<translation></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="466"/>
<location filename="../../src/Thread_Process.cpp" line="469"/>
<source>Target output file already exists, going to skip this file:</source>
<translation>, : </translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="467"/>
<location filename="../../src/Thread_Process.cpp" line="470"/>
<source>If you don&apos;t want existing files to be skipped, please change the overwrite mode!</source>
<translation>, !</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="474"/>
<location filename="../../src/Thread_Process.cpp" line="477"/>
<source>Target output file already exists, going to delete existing file:</source>
<translation>, : </translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="488"/>
<location filename="../../src/Thread_Process.cpp" line="491"/>
<source>Failed to delete existing target file, will save to another file name!</source>
<translation>, !</translation>
</message>

View File

@ -35,7 +35,7 @@
#define VER_LAMEXP_MINOR_LO 4
#define VER_LAMEXP_TYPE RC
#define VER_LAMEXP_PATCH 6
#define VER_LAMEXP_BUILD 1928
#define VER_LAMEXP_BUILD 1930
#define VER_LAMEXP_CONFG 1818
///////////////////////////////////////////////////////////////////////////////

View File

@ -34,7 +34,15 @@ public:
AbstractFilter(void);
~AbstractFilter(void);
//Result
enum FilterResult
{
FILTER_SUCCESS = 0,
FILTER_SKIPPED = 1,
FILTER_FAILURE = 2
};
//Internal decoder API
virtual bool apply(const QString &sourceFile, const QString &outputFile, AudioFileModel_TechInfo *const formatInfo, volatile bool *abortFlag) = 0;
virtual FilterResult apply(const QString &sourceFile, const QString &outputFile, AudioFileModel_TechInfo *const formatInfo, volatile bool *abortFlag) = 0;
};

View File

@ -49,7 +49,7 @@ DownmixFilter::~DownmixFilter(void)
{
}
bool DownmixFilter::apply(const QString &sourceFile, const QString &outputFile, AudioFileModel_TechInfo *const formatInfo, volatile bool *abortFlag)
AbstractFilter::FilterResult DownmixFilter::apply(const QString &sourceFile, const QString &outputFile, AudioFileModel_TechInfo *const formatInfo, volatile bool *abortFlag)
{
unsigned int channels = formatInfo->audioChannels(); //detectChannels(sourceFile, abortFlag);
emit messageLogged(QString().sprintf("--> Number of channels is: %d\n", channels));
@ -58,7 +58,7 @@ bool DownmixFilter::apply(const QString &sourceFile, const QString &outputFile,
{
messageLogged("Skipping downmix!");
qDebug("Dowmmix not required/possible for Mono or Stereo input, skipping!");
return true;
return AbstractFilter::FILTER_SKIPPED;
}
QProcess process;
@ -100,7 +100,7 @@ bool DownmixFilter::apply(const QString &sourceFile, const QString &outputFile,
if(!startProcess(process, m_binary, args, QFileInfo(outputFile).canonicalPath()))
{
return false;
return AbstractFilter::FILTER_FAILURE;
}
bool bTimeout = false;
@ -155,9 +155,9 @@ bool DownmixFilter::apply(const QString &sourceFile, const QString &outputFile,
if(bTimeout || bAborted || process.exitCode() != EXIT_SUCCESS || QFileInfo(outputFile).size() == 0)
{
return false;
return AbstractFilter::FILTER_FAILURE;
}
formatInfo->setAudioChannels(2);
return true;
return AbstractFilter::FILTER_SUCCESS;
}

View File

@ -32,7 +32,7 @@ public:
DownmixFilter(void);
~DownmixFilter(void);
virtual bool apply(const QString &sourceFile, const QString &outputFile, AudioFileModel_TechInfo *const formatInfo, volatile bool *abortFlag);
virtual FilterResult apply(const QString &sourceFile, const QString &outputFile, AudioFileModel_TechInfo *const formatInfo, volatile bool *abortFlag);
private:
const QString m_binary;

View File

@ -57,7 +57,7 @@ NormalizeFilter::~NormalizeFilter(void)
{
}
bool NormalizeFilter::apply(const QString &sourceFile, const QString &outputFile, AudioFileModel_TechInfo *const formatInfo, volatile bool *abortFlag)
AbstractFilter::FilterResult NormalizeFilter::apply(const QString &sourceFile, const QString &outputFile, AudioFileModel_TechInfo *const formatInfo, volatile bool *abortFlag)
{
QProcess process;
QStringList args;
@ -86,7 +86,7 @@ bool NormalizeFilter::apply(const QString &sourceFile, const QString &outputFile
if(!startProcess(process, m_binary, args, QFileInfo(outputFile).canonicalPath()))
{
return false;
return AbstractFilter::FILTER_FAILURE;
}
bool bTimeout = false;
@ -141,8 +141,8 @@ bool NormalizeFilter::apply(const QString &sourceFile, const QString &outputFile
if(bTimeout || bAborted || process.exitCode() != EXIT_SUCCESS || QFileInfo(outputFile).size() == 0)
{
return false;
return AbstractFilter::FILTER_FAILURE;
}
return true;
return AbstractFilter::FILTER_SUCCESS;
}

View File

@ -30,7 +30,7 @@ public:
NormalizeFilter(const int &peakVolume = -50, const bool &dnyAudNorm = false, const bool &channelsCoupled = true, const int &filterSize = 31);
~NormalizeFilter(void);
virtual bool apply(const QString &sourceFile, const QString &outputFile, AudioFileModel_TechInfo *const formatInfo, volatile bool *abortFlag);
virtual FilterResult apply(const QString &sourceFile, const QString &outputFile, AudioFileModel_TechInfo *const formatInfo, volatile bool *abortFlag);
private:
const QString m_binary;

View File

@ -61,7 +61,7 @@ ResampleFilter::~ResampleFilter(void)
{
}
bool ResampleFilter::apply(const QString &sourceFile, const QString &outputFile, AudioFileModel_TechInfo *const formatInfo, volatile bool *abortFlag)
AbstractFilter::FilterResult ResampleFilter::apply(const QString &sourceFile, const QString &outputFile, AudioFileModel_TechInfo *const formatInfo, volatile bool *abortFlag)
{
QProcess process;
QStringList args;
@ -70,7 +70,7 @@ bool ResampleFilter::apply(const QString &sourceFile, const QString &outputFile,
{
messageLogged("Skipping resample filter!");
qDebug("Resampling filter target samplerate/bitdepth is equals to the format of the input file, skipping!");
return true;
return AbstractFilter::FILTER_SKIPPED;
}
args << "-V3" << "-S";
@ -99,7 +99,7 @@ bool ResampleFilter::apply(const QString &sourceFile, const QString &outputFile,
if(!startProcess(process, m_binary, args, QFileInfo(outputFile).canonicalPath()))
{
return false;
return AbstractFilter::FILTER_FAILURE;
}
bool bTimeout = false;
@ -154,11 +154,13 @@ bool ResampleFilter::apply(const QString &sourceFile, const QString &outputFile,
if(bTimeout || bAborted || process.exitCode() != EXIT_SUCCESS || QFileInfo(outputFile).size() == 0)
{
return false;
return AbstractFilter::FILTER_FAILURE;
}
if(m_samplingRate) formatInfo->setAudioSamplerate(m_samplingRate);
if(m_bitDepth) formatInfo->setAudioBitdepth(m_bitDepth);
if(m_samplingRate)
formatInfo->setAudioSamplerate(m_samplingRate);
if(m_bitDepth)
formatInfo->setAudioBitdepth(m_bitDepth);
return true;
return AbstractFilter::FILTER_SUCCESS;
}

View File

@ -30,7 +30,7 @@ public:
ResampleFilter(int samplingRate = 0, int bitDepth = 0);
~ResampleFilter(void);
virtual bool apply(const QString &sourceFile, const QString &outputFile, AudioFileModel_TechInfo *const formatInfo, volatile bool *abortFlag);
virtual FilterResult apply(const QString &sourceFile, const QString &outputFile, AudioFileModel_TechInfo *const formatInfo, volatile bool *abortFlag);
private:
const QString m_binary;

View File

@ -51,7 +51,7 @@ ToneAdjustFilter::~ToneAdjustFilter(void)
{
}
bool ToneAdjustFilter::apply(const QString &sourceFile, const QString &outputFile, AudioFileModel_TechInfo *const formatInfo, volatile bool *abortFlag)
AbstractFilter::FilterResult ToneAdjustFilter::apply(const QString &sourceFile, const QString &outputFile, AudioFileModel_TechInfo *const formatInfo, volatile bool *abortFlag)
{
QProcess process;
QStringList args;
@ -72,7 +72,7 @@ bool ToneAdjustFilter::apply(const QString &sourceFile, const QString &outputFil
if(!startProcess(process, m_binary, args, QFileInfo(outputFile).canonicalPath()))
{
return false;
return AbstractFilter::FILTER_FAILURE;
}
bool bTimeout = false;
@ -127,8 +127,8 @@ bool ToneAdjustFilter::apply(const QString &sourceFile, const QString &outputFil
if(bTimeout || bAborted || process.exitCode() != EXIT_SUCCESS || QFileInfo(outputFile).size() == 0)
{
return false;
return AbstractFilter::FILTER_FAILURE;
}
return true;
return AbstractFilter::FILTER_SUCCESS;
}

View File

@ -30,7 +30,7 @@ public:
ToneAdjustFilter(int bass = 0, int treble = 0);
~ToneAdjustFilter(void);
virtual bool apply(const QString &sourceFile, const QString &outputFile, AudioFileModel_TechInfo *const formatInfo, volatile bool *abortFlag);
virtual FilterResult apply(const QString &sourceFile, const QString &outputFile, AudioFileModel_TechInfo *const formatInfo, volatile bool *abortFlag);
private:
const QString m_binary;

View File

@ -292,25 +292,28 @@ void ProcessThread::processFile()
// Apply all audio filters
//-----------------------------------------------------
if(bSuccess)
while(bSuccess && (!m_filters.isEmpty()) && (!m_aborted))
{
while(!m_filters.isEmpty() && !m_aborted)
QString tempFile = generateTempFileName();
AbstractFilter *poFilter = m_filters.takeFirst();
m_currentStep = FilteringStep;
connect(poFilter, SIGNAL(statusUpdated(int)), this, SLOT(handleUpdate(int)), Qt::DirectConnection);
connect(poFilter, SIGNAL(messageLogged(QString)), this, SLOT(handleMessage(QString)), Qt::DirectConnection);
const AbstractFilter::FilterResult filterResult = poFilter->apply(sourceFile, tempFile, &m_audioFile.techInfo(), &m_aborted);
switch (filterResult)
{
QString tempFile = generateTempFileName();
AbstractFilter *poFilter = m_filters.takeFirst();
m_currentStep = FilteringStep;
connect(poFilter, SIGNAL(statusUpdated(int)), this, SLOT(handleUpdate(int)), Qt::DirectConnection);
connect(poFilter, SIGNAL(messageLogged(QString)), this, SLOT(handleMessage(QString)), Qt::DirectConnection);
if(poFilter->apply(sourceFile, tempFile, &m_audioFile.techInfo(), &m_aborted))
{
sourceFile = tempFile;
}
handleMessage("\n-------------------------------\n");
delete poFilter;
case AbstractFilter::FILTER_SUCCESS:
sourceFile = tempFile;
break;
case AbstractFilter::FILTER_FAILURE:
bSuccess = false;
break;
}
handleMessage("\n-------------------------------\n");
delete poFilter;
}
//-----------------------------------------------------