Commit Graph

98 Commits

Author SHA1 Message Date
c41c904ffa Detect Windows 8 and detect if Windows 8 is running in "compatibility mode" for Windows 7. 2012-04-13 16:37:47 +02:00
48a23c27d7 Added a new configuration for initial Qt 5.0 support. Needed a few code-changes and workarounds. Highly experimental! 2012-04-11 00:44:40 +02:00
9b687fff9a Happy New Year 2012! 2012-01-02 00:52:27 +01:00
1f001a65e2 Better handling of system shutdown. Now using the Qt event system to broadcast a special event when the system is going to shutdown (i.e. WM_QUERYENDSESSION or WM_ENDSESSION). This gives each top-level widget the chance to react to the system shutdown *before* we return from the message handler. Doing any clean-up after returning from the message handler is impossible, because Windows will kill the process immediately after WM_ENDSESSION has been processed. Note that Windows XP (and earlier) will NOT send WM_QUERYENDSESSION or WM_ENDSESSION to processes that have a console attached! Therefore, if we have a debug console attached, we cannot do anything on these systems. Our process will be killed without any notification...
Also improved LameXP's IPC mechanism: There now are several slots for IPC-commands in the shared memory area ("queue support"). This way, the sender can post several commands in sequence without getting blocked. The receiver can process those at a later time.
2011-12-29 14:42:20 +01:00
9a9d2e6819 Explicitly handle WM_QUERYENDSESSION and WM_ENDSESSION messages to make sure LameXP won't block Windows from shutting down. 2011-12-27 05:04:53 +01:00
a96237e6b2 Some refactoring of the icon initialization code. 2011-12-26 21:02:55 +01:00
30f1795d32 Added some more "special" application icons. 2011-12-25 01:00:11 +01:00
a0a29b9551 Experimental support for dcaenc, by Alexander E. Patrakov <patrakov@gmail.com>. 2011-12-22 21:53:25 +01:00
d5c5aacb8b Apply Horner scheme to avoid costly exponentiation. 2011-11-28 15:38:45 +01:00
5585d53fc7 Print the total duration when the process is completed. 2011-11-28 00:35:43 +01:00
c1b88a7d07 Slightly tweaked formula to selected the number of instances based on CPU count. Maximum value is now 16. 2011-11-27 02:06:03 +01:00
431bf4b9ff Much simplify cores2instances() function by using a LUT. 2011-11-26 17:25:33 +01:00
d81f65e7e7 Yet another new formula to selected the number of instances based on CPU count. This time a few desired 'sample points' have been defined and a 'cubic spline' through these sample points has been approximated. This solution should be more mathematically correct. 2011-11-26 15:30:24 +01:00
284e796e72 New formula to selected the number of instances based on CPU count. 2011-11-26 02:47:48 +01:00
6a90dad03f Adjusted QAAC detection for shared 'libsoxrate' library. 2011-11-22 23:48:54 +01:00
3e7ae9642c Changed detection of QAAC for the new fully-static build. 2011-11-21 22:28:14 +01:00
da5dfdc85e Added optional support for the QAAC encoder. Requires QuickTime v7.7.1 (or later) and the QAAC front-end. 2011-11-21 01:22:41 +01:00
a2cae5c288 Slightly tweak algorithm to automatically set the number of instances: Instead of restricting the number of instances to 4, we now use '(cpu_cores / 2) + 2' instances for more than 4 CPU cores. For at most 4 CPU cores, we still use 'cpu_cores' instances. This way we can use more than 4 instances on CPU's with more than 4 cores, but the number of instances won't grow linearly with the number of CPU cores - should help a bit to avoid HDD thrashing. 2011-11-16 22:53:18 +01:00
84053a76f4 Use qMin() and qMax() instead of min() and max() macros. Also use qBound() where appropriate. 2011-11-08 15:12:31 +01:00
5a32fc3b82 Implemented a more correct way to initialize the ITaskbarList3 interface. We now actually wait for the "TaskbarButtonCreated" message. 2011-11-07 17:13:41 +01:00
623d149917 Fixed context menu position mapping in "processing" dialog. 2011-10-30 22:23:33 +01:00
a7126f42d2 Display "N/A" if CPU usage cannot be determined (as on Win2k). 2011-10-30 21:41:00 +01:00
b1098f4177 Bump patch version + minor improvements to previous commit. 2011-10-29 21:11:51 +02:00
02b7cdc3e1 Added indicators for current CPU usage, RAM usage and free disk space to the processing window. 2011-10-29 16:26:09 +02:00
0126635669 Fixed a bug with the "Prepend relative source file path to output file" option: This option should not be in effect when "Save output files to the same location where the input file is located" is enabled. Therefore, in the GUI, the "Prepend relative source file path to output file" option was correctly disabled (greyed out) when "Save output files to the same location where the input file is located" was checked. Nonetheless "Prepend relative source file path to output file" could still be in effect, if the user had checked that option *before* it had been disabled (greyed out). This is fixed now. 2011-10-24 00:31:46 +02:00
01bc64859d Added a hint that the version number in the name of the ZIP file, which Nero offers for download, doesn't tell the whole truth. 2011-10-23 18:05:27 +02:00
a98206bd70 Added an option to hibernate the computer ("suspend to disk") instead of shutting it down ("power off"). 2011-10-22 01:13:28 +02:00
af7bb2026a Made the channel equalization mode of the "normalization" filter an advanced option. The "-ne" mode still is default, be you can use "-nb" or even "-n" now. The last one still has problems with multi-channel files. 2011-10-06 23:55:42 +02:00
c08fa1493a Added support for a few Playlist file name prefixes. Will be chosen based on the file names in the Playlist. 2011-09-06 18:47:13 +02: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
10ae6c8451 Better workaround for "ResizeToContents not updating" bug. 2011-08-23 17:01:11 +02:00
137535927a Workaround for a bug in Qt's TableView that causes column widths to not be updated immediately when ResizeToContents is used. We have to force the update via event filter. 2011-08-22 00:03:36 +02:00
95f627ee1a Some more clean-up for FhgAacEnc support + updated documents. 2011-08-21 14:43:18 +02:00
84883ab519 Added experimental(!) support for FhgAacEnc. Replaces the Nero AAC encoder, if available. 2011-08-19 15:27:58 +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
fbee147f07 Added an option option to enforce Stereo Downmix. 2011-08-05 21:52:43 +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
5c2961e109 Don't display more than 50 table items in the processing window. It seems Qt is getting a bit slow on updates when there are a lot of items in the table view... 2011-06-13 18:59:21 +02:00
e076c5b5ec Create proper .m3u8 playlist with UTF-8 BOM, if the file names contain Unicode characters. Otherwise create a simple .m3u playlist with Latin-1 encoding. 2011-06-02 02:11:47 +02:00
e01f6853e3 Added more options for Aften to the "Advanced Options" tab. 2011-05-07 00:50:18 +02:00
0d2b16424f Implemented encoding mode and bitrate selection for AC-3 encoder. Also support for custom parameters. 2011-05-05 12:27:25 +02:00
be71e483b1 Initial ATSC A/52 (aka "AC-3", aka "Dolby Digital") encoding support, based on the Aften encoder. 2011-05-04 01:15:05 +02:00
8977e0073f Clean up #include directives: Don't include 'Windows.h' directly, as it's included from 'Global.h' header file. 2011-04-11 21:55:34 +02:00
eeab6155e5 Updated version info: v4.01 RC-1. 2011-03-28 21:58:01 +02:00
23665ed4c9 Implemented a new "disk observer" thread which will constantly check the free diskspace of the disk where the TEMP folder is located. If the diskspace drops below a critical limit (currently 100 MB) a warning message is emitted. 2011-03-28 04:26:47 +02:00
f60515ca50 Use custom Wave files instead of Beep(), as the Beep() function doesn't work reliably on all platforms. 2011-03-18 12:37:18 +01:00
108c167767 Added an option to shutdown the computer as soon as all files are completed. 2011-03-18 01:12:17 +01:00
63d6708fc1 Refactored a few constants. 2011-02-28 01:28:27 +01:00