Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-11-24 | Use a typedef for ports like other structs | David Robillard | 13 | -50/+47 | |
2024-11-24 | Fix inconsistent case in information message | David Robillard | 1 | -1/+1 | |
2024-11-24 | Move process thread code to a separate file | David Robillard | 6 | -85/+140 | |
2024-11-24 | Remove redundant condition | David Robillard | 1 | -24/+26 | |
Reduce nesting in the implementation by ensuring that state is non-null at the caller. | |||||
2024-11-24 | Fix Jack latency recomputation when plugin latency changes | David Robillard | 5 | -4/+45 | |
Paul Davis says "jack_recompute_total_latencies() is a server call. It is not legal to make server calls from within a server callback (like the process callback)." | |||||
2024-11-24 | Improve const-correctness of Jack latency callback | David Robillard | 1 | -4/+4 | |
2024-11-24 | Generalize audio/main thread communication | David Robillard | 6 | -75/+127 | |
Defines a more general message structure that can also accommodate internal use (not just as a channel for plugin/UI message), and cleans up the ring reading/writing code to prepare for such use. | |||||
2024-11-24 | Allocate message buffers with the necessary size during setup | David Robillard | 2 | -33/+21 | |
Remove static limits and instead allocate large enough buffers for any message sent by the plugin. These buffers only need to hold one message at a time, so they can't be any larger than the largest port buffer (since the plugin couldn't possibly write anything larger). Also replaces some crude hammering on realloc() with reuse of one of these known-large-enough buffers. | |||||
2024-11-24 | Rename ambiguous "buffer_size" field to "ring_size" | David Robillard | 4 | -15/+13 | |
There's already a lot of "buffer" sizes, and there's about to be even more, so rename this to "ring" size to be obviously about the communication rings. | |||||
2024-11-24 | Remove transport position dumping from Jack process callback | David Robillard | 1 | -2/+0 | |
This is handy at times, but prints in the process callback which is obviously not realtime safe. The communication dumping is, though, and both are controlled by the same option, so there wasn't a way to enable that without introducing a pretty severe performance issue in the audio thread. So, simply remove it for now. If transport dumping is really needed, it can be implemented by sending the information to the main thread for printing there, which will be easier after the upcoming work to improve the communication facilities. | |||||
2024-11-24 | Add support for control outputs with lv2:latency designation | David Robillard | 2 | -2/+30 | |
2024-11-24 | Avoid querying the lilv model in the process callback | David Robillard | 3 | -11/+19 | |
2024-11-24 | Move jalv_send_to_plugin() to avoid the need for a prototype | David Robillard | 1 | -55/+48 | |
2024-11-24 | Simplify jalv_send_to_plugin() | David Robillard | 1 | -43/+19 | |
2024-11-24 | Move low-level event sending functions to a separate file | David Robillard | 7 | -86/+139 | |
Takes advantage of the dependency trimming of the previous commit to work towards separating things more cleanly. | |||||
2024-11-24 | Move ring error handling and logging to a higher level | David Robillard | 5 | -52/+72 | |
This removes the dependency on the "global" Jalv object from the low-level message sending functions. | |||||
2024-11-17 | Rename UI port event function and move it to the appropriate header | David Robillard | 6 | -25/+26 | |
This isn't a "global" internal function like the others in jalv_internal.h, but rather the prototype of a function that must be implemented by frontends. | |||||
2024-11-17 | Use fewer platform-specific APIs | David Robillard | 1 | -15/+0 | |
The previous few commits replaced the use of various platform-specific things, leaving mostly only POSIX, so clean up the configuration defines to require only what's needed. | |||||
2024-11-17 | Use nanosleep() instead of usleep() | David Robillard | 1 | -2/+3 | |
The old usleep() was declared obsolete by POSIX.1-2001, and removed in POSIX.1-2008. | |||||
2024-11-17 | Move string utilities to a separate compilation unit | David Robillard | 9 | -35/+57 | |
These don't really have anything to do with logging. Also replace a call to the non-standard strdup() in the process. | |||||
2024-11-17 | Use portable zix filesystem API | David Robillard | 1 | -21/+20 | |
2024-11-17 | Update clang-format configuration | David Robillard | 2 | -8/+4 | |
2024-11-14 | Add brief comments for undocumented "public" functions | David Robillard | 4 | -1/+24 | |
2024-11-14 | Remove unused prototypes and make functions static where possible | David Robillard | 6 | -34/+16 | |
2024-10-12 | Avoid static downcasts | David Robillard | 1 | -12/+17 | |
2024-10-12 | Merge duplicate branches | David Robillard | 1 | -7/+1 | |
2024-10-12 | Use anonymous namespaces | David Robillard | 1 | -44/+52 | |
2024-10-12 | Remove more old-style casts in C++ | David Robillard | 1 | -1/+2 | |
2024-10-12 | Remove unused constructor | David Robillard | 1 | -10/+0 | |
It looks like this has always been dead code. | |||||
2024-10-12 | Add missing const qualifiers | David Robillard | 12 | -52/+54 | |
2024-10-12 | Factor frontend command-line arguments into a struct | David Robillard | 5 | -43/+60 | |
2024-10-12 | Use conventional POSIX format for command-line messages | David Robillard | 1 | -29/+33 | |
2024-10-12 | Remove useless conditions | David Robillard | 2 | -13/+7 | |
2024-10-12 | Add field width to scanf pattern to protect against huge inputs | David Robillard | 1 | -3/+3 | |
Ultimately this needs to be replaced with something more serious, but for now, 240 characters ought to be enough for anybody. | |||||
2024-10-12 | Handle realloc failure everywhere | David Robillard | 3 | -8/+22 | |
2024-10-12 | Handle allocation failure in jack_initialize() | David Robillard | 1 | -4/+10 | |
2024-10-12 | Return distinct error codes from jack_initialize() | David Robillard | 1 | -3/+13 | |
2024-10-12 | Initialize buffer | David Robillard | 1 | -2/+2 | |
2024-10-12 | Reduce variable scope | David Robillard | 1 | -3/+2 | |
2024-10-12 | Clean up portaudio driver | David Robillard | 1 | -6/+19 | |
2024-10-12 | Use exhaustive switch statements everywhere | David Robillard | 2 | -9/+6 | |
2024-10-12 | Remove unused preprocessor symbols | David Robillard | 1 | -6/+1 | |
2024-10-12 | Avoid use of non-literal format string | David Robillard | 1 | -3/+5 | |
2024-10-12 | Avoid casting away const | David Robillard | 1 | -11/+24 | |
2024-10-12 | Enable unused parameter warnings | David Robillard | 1 | -0/+4 | |
These were fixed earlier (and the clang-tidy warning enabled), but the compiler flags were't strengthened. | |||||
2024-10-12 | Declare classes final and fix strict GCC release build | David Robillard | 1 | -2/+2 | |
2024-10-12 | Fix whitespace and add clang-format test | David Robillard | 1 | -1/+1 | |
2024-07-12 | Remove dead code | David Robillard | 2 | -5/+1 | |
2024-07-12 | Fix minor memory leaks | David Robillard | 2 | -0/+7 | |
2024-07-12 | Add Qt6 version | David Robillard | 2 | -1/+9 | |