Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-11-29 | Completely isolate drivers from the rest of the application | David Robillard | 1 | -428/+0 | |
2020-11-29 | Add AudioDriver interface | David Robillard | 1 | -34/+52 | |
2020-11-29 | Remove flaky DSP load meter | David Robillard | 1 | -33/+1 | |
This never worked particularly well, and the underlying API is more or less useless with Jack 2. So, just replace it with a dropout counter. | |||||
2020-11-29 | Clean up member initialization in JackDriver | David Robillard | 1 | -4/+0 | |
2020-11-29 | Replace attached and detached signals with events | David Robillard | 1 | -7/+5 | |
2020-11-29 | Remove redundant logging | David Robillard | 1 | -3/+0 | |
2020-11-28 | Remove unused field | David Robillard | 1 | -1/+0 | |
2020-11-28 | Clean up Jack driver code | David Robillard | 1 | -93/+81 | |
2020-11-28 | Add missing include | David Robillard | 1 | -0/+1 | |
2020-11-28 | Clean up includes | David Robillard | 1 | -3/+2 | |
2020-11-28 | Avoid using atoi | David Robillard | 1 | -1/+1 | |
2020-11-28 | Avoid copying port IDs | David Robillard | 1 | -2/+2 | |
2020-11-28 | Remove dead code | David Robillard | 1 | -25/+0 | |
2020-11-28 | Abstract out sending of events | David Robillard | 1 | -19/+10 | |
This removes the details of how events are handled from drivers, so the owner can set them up to do anything. For example, a driver could be run in the GUI thread and have its events simply dispatched immediately, but here everything is enqueued to the same queue which is drained later for simplicity. | |||||
2020-11-28 | Refresh by emitting events | David Robillard | 1 | -205/+39 | |
This decouples drivers from the rest of the application, in particular the horrible situation where they were working with the canvas directly, by having them always communicate changes by emitting events. | |||||
2020-11-28 | Factor out getting client and port metadata and send it with events | David Robillard | 1 | -40/+63 | |
2020-11-28 | Move PortType to its own header | David Robillard | 1 | -0/+1 | |
2020-11-28 | Move SignalDirection to its own header | David Robillard | 1 | -0/+1 | |
2020-11-28 | Rename ModuleType to SignalDirection | David Robillard | 1 | -12/+13 | |
2020-11-28 | Move handle_event() to separate files | David Robillard | 1 | -0/+2 | |
2020-11-28 | Index clients and ports by ID | David Robillard | 1 | -14/+24 | |
2020-11-28 | Remove null port IDs | David Robillard | 1 | -3/+1 | |
This statically ensures that a PortID is always valid. | |||||
2020-11-28 | Make PatchageEvent a variant | David Robillard | 1 | -15/+9 | |
2020-11-28 | Remove useless doc comments | David Robillard | 1 | -7/+0 | |
2020-11-28 | Simplify driver connection interface | David Robillard | 1 | -30/+7 | |
2020-11-28 | Always index Jack ports and refer to them by name | David Robillard | 1 | -20/+30 | |
The Jack API annoyingly doesn't provide a way to get an ID from a port name. Since notification callbacks apparently don't have to worry about realtime concerns anymore, simply use the full name string as an ID everywhere. This means that every Jack port has a non-null ID, and all ports are always indexed, so the kludges for this in the canvas can be removed. | |||||
2020-11-28 | Remove Queue and use std::queue in JackDriver | David Robillard | 1 | -2/+0 | |
Jack notification handlers do not need to be realtime safe. | |||||
2020-11-27 | Ensure that modules always have an ID | David Robillard | 1 | -2/+5 | |
2020-11-27 | Remove use of PatchagePort from Driver connection interface | David Robillard | 1 | -23/+40 | |
2020-11-27 | Ensure that ports always have an ID | David Robillard | 1 | -0/+1 | |
2020-11-27 | Use a consistent style for log messages | David Robillard | 1 | -16/+20 | |
2020-11-27 | Use prettier names for log methods | David Robillard | 1 | -22/+22 | |
2020-11-27 | Factor out log from Patchage class | David Robillard | 1 | -23/+25 | |
Towards saner dependencies. | |||||
2020-11-27 | Replace boost::format with fmt | David Robillard | 1 | -11/+12 | |
2020-11-27 | Don't use else after return | David Robillard | 1 | -5/+5 | |
I don't always agree with this one, but in this case it's reasonable enough. | |||||
2020-11-27 | Use static_cast to convert from void pointers | David Robillard | 1 | -5/+5 | |
2020-11-27 | Avoid C casts | David Robillard | 1 | -1/+1 | |
2020-11-27 | Remove spurious semicolon | David Robillard | 1 | -1/+0 | |
2020-11-27 | Use a single declaration per line | David Robillard | 1 | -1/+2 | |
2020-11-27 | Avoid unnecessary copies | David Robillard | 1 | -1/+3 | |
2020-11-27 | Initialize all members | David Robillard | 1 | -0/+2 | |
2020-11-27 | Use appropriate std::string::find overload for characters | David Robillard | 1 | -3/+3 | |
2020-11-27 | Use std::mutex | David Robillard | 1 | -3/+6 | |
2020-11-27 | Use consistent naming convention for enum classes | David Robillard | 1 | -29/+29 | |
2020-11-27 | Use enum classes | David Robillard | 1 | -26/+34 | |
2020-11-27 | Always initialize variables | David Robillard | 1 | -5/+5 | |
2020-11-27 | Always use braces around statements | David Robillard | 1 | -13/+23 | |
2020-11-27 | Use auto where appropriate | David Robillard | 1 | -14/+13 | |
2020-11-27 | Use nullptr | David Robillard | 1 | -19/+20 | |
2020-02-09 | Format all code with clang-format | David Robillard | 1 | -61/+77 | |
This configuration tries to get as close to the previous style as possible so the changes aren't too dramatic. It's still far from ideal and the code could use some adaptation, but this makes things much easier to work on. |