Commit Graph

79 Commits

Author SHA1 Message Date
2026be82dd Don't apply "downmix" filter on Mono or Stereo sources. Always apply when channel count is undetermined. 2016-11-12 16:06:04 +01:00
64272450c6 Extended AbstractEncoder::encode() interface to pass the number of channels to the encoder implementation. 2016-11-12 14:57:58 +01:00
ec78557a05 Clean up output file name at a slightly later point. 2016-07-17 20:25:11 +02:00
eb8da7b6f9 Happy new year 2016! 2016-01-03 15:53:42 +01:00
83ef96701a Added an "advanced" option to apply the original file's "creation" and "last modified" date/time to the output file. 2015-11-07 21:39:33 +01:00
a1a2d63c42 Set creation/modified time of the encoded file the same value as the original file's creation/modified time.
TODO: Make this an option!
2015-10-25 16:19:45 +01:00
e21ee2f7ae Some code refactoring. 2015-08-31 22:53:19 +02:00
f2dae69676 Added detection of 64-Bit QAAC encoder + fixed a regression in def8a9cd6e. 2015-05-12 00:29:17 +02:00
a70919dcbe Actually make overwriting the file extensions by custom value work. 2015-05-10 19:52:07 +02:00
def8a9cd6e Implemented file extension replacement model + moved extension() function from AbstractEncoder class to AbstractEncoderInfo class. 2015-05-10 16:34:07 +02:00
e35aff3907 Actually make RegExp-based file renaming work. 2015-05-09 23:33:07 +02:00
1ea15b179c Happy new year 2015 !!! 2015-01-01 18:06:21 +01:00
8211b417d6 Moved all the Sound-specific functions into MUtilities library. 2014-12-05 21:08:26 +01:00
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