Commit Graph

66 Commits

Author SHA1 Message Date
06db588742 Moved some more OS-specific functions into the MUtilities library. 2014-12-04 00:02:42 +01:00
6eb4de942c Raised limit for maximum number of parallel instances to 32. 2014-11-30 22:11:47 +01:00
dc98131fd1 Moved various auxiliary macros into the MUtils library. 2014-11-30 21:32:23 +01:00
e579a5057d Fixed possible memory corruption in ProcessThread::init(). 2014-11-30 20:25:22 +01:00
29d8b98a3f Moved all terminal support functions into MUtilities library. 2014-11-25 22:34:20 +01:00
bdfef0ed1c Removed the lamexp_fatal_exit() function. 2014-11-25 18:23:03 +01:00
035699c84e Moved various functions into MUtils library and removed obsolete code from LameXP. 2014-11-25 02:14:42 +01:00
f02043bd21 Some improvements and simplifications to error handling functions. 2014-06-27 16:20:47 +02:00
1bb96ba6db Some code clean up. Use an enum type for the "overwrite" mode instead of two separate flags. 2014-05-30 16:52:34 +02:00
4accd22659 Make sure we don't try to delete the input file when running in "overwrite existing file" mode and the input/output happen to be identical. 2014-05-28 16:49:58 +02:00
cc38035087 Happy new year 2014! 2014-01-01 17:05:52 +01:00
655427d7a6 Slightly improved debugger thread code. 2013-10-25 17:55:27 +02:00
7b016d5fec Updated license info. 2013-10-23 22:25:04 +02:00
8a64624ba4 Use the THROW macro instead of plain "throw" in the complete project. 2013-10-18 21:37:40 +02:00
0435637c75 Fix compilation after previous changes to AudioFileModel in previous commit. 2013-10-12 22:55:41 +02:00
ae72ce1fcf Yet another small overhaul of ProcessingDialog and ProcessThread. 2013-10-12 20:34:59 +02:00
8fd45dc4dd Split ProcessThread::start() method into ProcessThread::init() and ProcessThread::start(). 2013-10-11 20:43:31 +02:00
cb3f50e5f3 Moved some initialization stuff out of the ProcessThread::run() function into a new initialization function. Also got rid of one Mutex, because file names are now generated in the init function, i.e. by the "main" thread. 2013-10-09 16:11:58 +02:00
94c199d849 Make ProcessingDialog use a QThreadPool and, accordingly, make ProcessThread inherit from QRunnable rather than QThread. 2013-10-09 03:14:38 +02:00
bd0a370aee Welcome to year 2013 ;-) 2013-02-08 23:57:50 +01:00
30507937de Added global lamexp_fatal_exit() function. 2012-12-11 23:22:20 +01:00
8ba1c016c6 Delete "blank" output file, if encoding failed or was aborted (or never actually started). 2012-11-11 18:58:08 +01:00
07dfd3211a Added an option to filter the progress model entries. If filter is enabled, only progress items that match the filter will be shown in the TableView. 2012-11-11 18:33:55 +01:00
977f4d4213 "Overwrite Mode" should actually be working now. 2012-11-08 21:19:45 +01:00
2878dc7ad0 Treat Wave files with IEEE Float (32-Bit) sample format separately from Wave files with 32-Bit Integer sample format. For example, the Opus encoder accepts 32-Bit IEEE Float just fine, but does NOT like 32-Bit Integer as input. 2012-08-22 23:52:55 +02:00
278f9091fb Replaced the Opus encoder/decoder binary wit custom binaries that support UTF-8 file names and flush the console output properly + expose more Opus encoder options in the GUI. 2012-07-21 19:16:12 +02:00
e49093c5c7 Updated MediaInfo binary to v0.7.58 (2012-05-28), compiled with ICL 12.1.7 and MSVC 10.0. 2012-06-25 21:59:28 +02:00
9b687fff9a Happy New Year 2012! 2012-01-02 00:52:27 +01:00
3f4be5c846 Fixed AC-3 encoding with sources that have more than 6 channels. 2012-01-01 21:31:48 +01:00
db587fe228 Prevent some more dialogs from blocking a quick system shutdown. 2011-12-27 13:51:01 +01:00
36d4f4fb74 Updated dcaenc. Also encoders can now report all supported channel numbers and downmix will be invoked as needed. We still downmix to Stereo, if the given channel number isn't supported. In a future version we should downmix to the most suitable supported channel number. 2011-12-23 00:43:11 +01:00
a0a29b9551 Experimental support for dcaenc, by Alexander E. Patrakov <patrakov@gmail.com>. 2011-12-22 21:53:25 +01:00
a392864916 Improved the resample filter. It will now also handle the adjustment of the bit-depth. 2011-12-22 18:36:41 +01:00
1a238db3db Update file properties after the decoding step by using SoX in "--i" mode. Required, because some properties (such as 'bits per sample') cannot be known beforehand. 2011-12-22 00:06:34 +01:00
2ad5c3068d Prepare to support audio encoders that only support specific bit-depths. 2011-12-21 01:23:21 +01:00
3f3451e5c1 Implemented coalescing of progress updates, in order to reduce the number of signals that are sent to the main/GUI thread. Depending on the encoder/decoder used, this reduces the CPU time consumed by the LameXP process quite a bit. 2011-11-16 22:56:32 +01:00
bcbd8defce Revert: Avoid applying the Downmix filter on Mono/Stereo sources. Otherwise we need to decode (i.e. copy) Wave files, even when the Downmix filter does nothing. 2011-08-27 21:28:20 +02:00
dae4def2fa Downmix filter will now check if the input already is Mono/Stereo, so we can safely invoke the filter for ALL sources. 2011-08-07 14:04:17 +02:00
1fdfab1160 Refactored code to insert the Downmix filter in processing thread. 2011-08-06 18:56:09 +02:00
ce872af94c Apply "Force Stereo Downmix" only for sources with more than two channels. 2011-08-06 14:12:20 +02:00
229357f77c Preview example file name for current rename pattern. 2011-08-05 15:41:19 +02:00
613c9721a7 Prevent rename pattern edit box from being translated, so the text won't be lost anymore. 2011-08-05 02:33:32 +02:00
7e1f790e9b Added an option to rename the output files (based on an user-defined pattern). More macros might be added at a later time. 2011-08-04 23:26:38 +02:00
327ca1ae75 Added 'wma2wav' as WMA decoder and removed all support for WMA decoder by NCH Swift Sound. 2011-07-26 22:17:14 +02:00
243993434e Fixed a memory leak: Decoder objects were never destroyed! 2011-05-15 18:54:40 +02:00
4ce167e709 Fix AC-3 encoding with non-standard sampling rates. Aften needs input at 48, 44.1 or 32 kHz, so insert Resampling filter, if needed. 2011-05-06 17:51:49 +02:00
157542f730 Initial support for cover artwork. 2011-03-20 23:32:11 +01:00
f829d69636 Added an option to select a user-defined TEMP directory. 2011-02-25 22:03:39 +01:00
58ded8c2e4 Added a normalization filter, based on SoX. 2011-01-25 23:12:56 +01:00
8c0fa11803 make more strings translatable + try to load a default translation that suits the user's system language 2011-01-02 01:09:05 +01:00