Commit Graph

463 Commits

Author SHA1 Message Date
d5a4aa72e3 Windows will kill our process immediately after we return from handling the WM_ENDSESSION message, so we have to clean-up explicitly *before* returning from the message handler. Not nice, but there is no other way. Also, as Windows will kill our process anyway and thus prevent a proper application shutdown, we can just call exit() from the message handler. This makes sure nothing "unexpected" can happen in the short moment that our application would continue to run after returning from the message handler. 2011-12-27 05:47:38 +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
805d3f7393 Added one more "special" application icon. 2011-12-25 22:29:04 +01:00
30f1795d32 Added some more "special" application icons. 2011-12-25 01:00:11 +01:00
dce362c997 Make the CPU usage indicator work on Windows 2000. 2011-12-24 04:20:23 +01:00
e848b3bd8a Updated dcaenc binary. 2011-12-23 23:33:43 +01:00
d574745043 Restrict bitrate selector for dcaenc to a sane range. It seems everything above 4096 kbps will fail, even with 6 channels. 2011-12-23 02:29:06 +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
1d9aaf90ed Updated Chinese/Taiwanese translation. Thanks to 456Vv <123@456vv.com>. 2011-12-20 13:12:01 +01:00
2ff648b4fd Updated MediaInfo binaries to v0.7.50 (2011-12-19), compiled with ICL 12.1.6 and MSVC 10.0. 2011-12-20 00:25:41 +01:00
3141ebf2ee Improved detection of default language: Each language file can now have a country id in addition to the language id. This is required, because some languages (e.g. Chinese) have country-specific variants. 2011-12-19 17:26:20 +01:00
d1803f1a3b Print the "script" of the language file. 2011-12-19 16:20:52 +01:00
683b7a82a5 QDesktopServices::openUrl() fails horribly, if we try to explore a folder like "C:\Foo\Bar" while there is a file "C:\Foo\Bar.exe". Going back to ShellExecute() for now. 2011-12-19 02:09:45 +01:00
97170324e3 Added "Ignore" button to message box. 2011-12-18 18:19:14 +01:00
6657745daa Improved language file initialization code. 2011-12-18 15:19:07 +01:00
44da665abc Force column resize, after an item in the source file list has been edited. 2011-12-17 22:01:42 +01:00
dc63a2d115 Added Chinese translation by 456Vv <123@456vv.com>. 2011-12-17 16:53:13 +01:00
9f3777bbde Check Qt build date and build key. 2011-12-17 15:56:24 +01:00
388f98e90a Added UTF-16 (LE and BE) support to Playlist and Cue Sheet import. 2011-12-13 23:33:21 +01:00
621ddc8179 Added a new global function to get a list of all available Text Codecs. 2011-12-10 23:12:47 +01:00
b633f40e4c If the Cue Sheet isn't clearly UTF-8 (i.e. a BOM is found), then let the user select the desired Codepage. 2011-12-10 17:06:31 +01:00
6770f1ec90 QString::fromLocal8Bit() doesn't work as expected, as we explicitly set the CodecForLocale to UTF-8 in the initialization code. Therefore we can't use QString::fromLocal8Bit() at places where the system's default Codec is needed. Instead we will now get the actual system Codec via QTextCodec::codecForName("System") at those places. That's not nice, but solves the problem. 2011-12-10 01:59:45 +01:00
545b9b4967 Improved handling of different character encodings for M3U(8) and PLS playlist import. 2011-12-09 00:34:07 +01:00
8c72137fe1 Workaround for a bug that causes MediaInfo to not detect the duration of Wave files (64-Bit only). 2011-12-04 20:33:06 +01:00
3e2e6f66e6 Small fix of previous commit. 2011-12-03 16:10:33 +01:00
98fbf7bf3b Account for the fact that some web-sites send "HTTP 200 OK" successfully, but then time-out on the way to send their payload. In this case we will now give 1/2 connection point. 2011-12-02 20:05:23 +01:00
a6c55c69c2 Added some info on how the Auto Update systems works to the FAQ document. Also added a "dummy" Manual file. 2011-12-02 01:14:32 +01:00
e4d414b822 Added more "known hosts" to the list: We now use a list of 64 domains, taken (mostly) from the Alexa 'top 500 sites on the web' list, to test the Internet connectivity. Also added a self-test function to check all hosts (press CTRL+F12 in the update dialog). 2011-12-01 22:16:06 +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
3a74f55c5f Updated FAQ document for the new 'number of instances' algorithm. 2011-11-26 22:28:00 +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
2243c77f4b Now using a QSemaphore to make the observer threads sleep. This allows waking up the threads immediately *without* having to poll the 'terminated' flag at short intervals. 2011-11-25 01:01:30 +01:00
fb53e209b5 Disable word-wrap in processing window's table view. 2011-11-23 00:38:20 +01:00
11acbb60a0 Bump minimum required QAAC version to 1.05. 2011-11-22 23:51:50 +01:00
6a90dad03f Adjusted QAAC detection for shared 'libsoxrate' library. 2011-11-22 23:48:54 +01:00
6235115429 Setup TMP and TEMP environment variables for *all* tools. Also add "$EXEDIR\QTfiles" to the PATH for QAAC. 2011-11-22 12:43:32 +01:00
3e7ae9642c Changed detection of QAAC for the new fully-static build. 2011-11-21 22:28:14 +01:00
20f425c284 More reliable method to detect QAAC and make sure the required CoreAudioToolbox library is available. 2011-11-21 14:40:32 +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
5cac3faa8b Make sure that the extracted "cover art" image file is valid. 2011-11-19 14:06:39 +01:00
16aaebec22 Updated LAME encoder binaries to v3.99.2 Final (2011-11-18), compiled with ICL 12.1.7 and MSVC 10.0. 2011-11-19 02:58:14 +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