|
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 |
|
|
cc38035087
|
Happy new year 2014!
|
2014-01-01 17:05:52 +01:00 |
|
|
6a862013eb
|
Added lamexp_init_process() function, which can be used to setup a QProcess object.
|
2013-10-29 02:05:43 +01:00 |
|
|
7b016d5fec
|
Updated license info.
|
2013-10-23 22:25:04 +02:00 |
|
|
b54886f242
|
Introduce QUTF8 macro and replace ".toUtf8().constData()" everywhere.
|
2013-10-21 15:00:55 +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 |
|
|
9dbb317a5c
|
Redesigned FileAnalyzer and Analyzer task. New design is much cleaner, resulting in simpler code and faster file import performance. Also, playlist files are now handled ahead of everything else, which makes sure the progress indicator increases monotonically. Preliminary tests show that file import performance has been more than doubled! For example, the time for importing ~1000 files decreased from 116 seconds to 46 seconds on the development machine, which corresponds to a 2.5x speed-up.
|
2013-10-06 19:26:08 +02:00 |
|
|
bd0a370aee
|
Welcome to year 2013 ;-)
|
2013-02-08 23:57:50 +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 |
|
|
2cd7fb1faf
|
Updated MediaInfo binary to a current SVN/Trunk version with Opus support. Also removed the preliminary Opus detection hack.
|
2012-08-01 00:17:12 +02:00 |
|
|
fcceeeaaac
|
Added support for Opus Audio Codec, based on Opus-Tools v0.1.3 (2012-07-10) by Xiph.org/Mozilla
|
2012-07-20 23:19:08 +02:00 |
|
|
a291771153
|
Now using a separate QSemaphore to limit the number of tasks in the queue of the QThreadPool. Instead of starting exactly as many task as there are threads in the pool and adding a new task only after a running one finished, we will now keep a fixed number of tasks in the queue (currently hardcoded to 32). Since there always will be more tasks left in the queue than there are threads in the pool, we ensure that no thread will ever become idle. Might be slightly faster than the "old" approach.
|
2012-05-25 02:24:44 +02:00 |
|
|
c18785ce1e
|
Changed the method to synchronize the analyzer threads: We now use QSet to maintain a list of the thread id's of all threads that are still running - instead of only recording the highest thread id that has finished. This way a thread can now actually check if there still is any running thread with a lower thread id. Before thread n could only check if thread n-1 has finished yet or not. As a result we can relax the waiting now. Only threads that want to emit a file will wait for the "previous" threads to finish.
|
2012-05-14 00:50:16 +02:00 |
|
|
193488e26f
|
Fix: In order to ensure the "correct" ordering, *all* threads need to wait for the previous threads to finish - not only the threads that will emit a file. If both, thread n and n+1, want to emit a file and thus n+1 has to wait for n, we additionally must allow thread n+2 to terminate before n and n+1, even if n+2 does *not* emit a file. That's because as soon as n+2 finishes, it unblocks all threads x with x < n+2, which includes n and n+1. If that happens and n+1 is still waiting for n, we effectively allow n+1 to emit its file *before* n. By blocking all threads x with x > n+1 until n+1 has finished (regardless of whether they want to emit a file or not) this problem is resolved. As long as we assume that most threads actually *do* emit a file, this commit shouldn't hurt the performance.
|
2012-05-12 02:51:24 +02:00 |
|
|
9175daae0d
|
Some code refactoring regarding the QWaitCondition/QMutex in FileAnalyzer_Task.
|
2012-05-09 02:54:41 +02:00 |
|
|
814b725fe3
|
Slightly improved progress indicator for file analyzer: Additional files from playlists are now taken into account earlier.
|
2012-05-08 01:12:26 +02:00 |
|
|
e13b93f51b
|
Implemented progress indicator for the working banner.
|
2012-05-06 04:57:00 +02:00 |
|
|
a7a776ed82
|
Implemented a method to disables update signals from the FileList model. This will significantly speed-up adding a lot files, but comes with the drawback that updates won't be visible immediately.
|
2012-05-05 21:56:14 +02:00 |
|
|
160b997c76
|
Now using a QWaitCondition to synchronize the FileAnalyzer threads.
|
2012-05-05 03:55:27 +02:00 |
|
|
7d36e9d82e
|
Some minor tweaks to the multi-threaded FileAnalyzer class.
|
2012-05-04 16:40:02 +02:00 |
|
|
14492b9c49
|
Implemented multi-threading for file analyzer. Now multiple files can be analyzed in parallel. This should speed-up adding files quite a bit, especially when a huge number of files is added at once.
|
2012-05-04 04:01:10 +02:00 |
|