summaryrefslogtreecommitdiffstats
path: root/src/AlsaDriver.cpp
AgeCommit message (Collapse)AuthorFilesLines
2022-08-22Replace boost with standard C++17 facilitiesDavid Robillard1-2/+1
2022-08-16Upgrade to fmt 9.0.0David Robillard1-1/+0
This library tends to break in annoying ways like this, so pin the major version to 9 to hopefully avoid these problems in the future.
2022-08-16Fix whitespaceDavid Robillard1-2/+2
Apparently clang-format changed its mind about special member functions, and binary_location.h was just never formatted to begin with.
2022-07-20Use default member initializationDavid Robillard1-4/+2
2022-07-20Clean up includesDavid Robillard1-2/+1
2022-07-20Adopt REUSE machine-readable licensing standardDavid Robillard1-15/+2
2022-05-18Clean up whitespaceDavid Robillard1-2/+0
2021-05-08Put events in a namespace and simplify their namesDavid Robillard1-16/+17
2021-04-08Fix ALSA sequencer port subscriptionsDavid Robillard1-20/+22
2021-01-02Format all code with clang-formatDavid Robillard1-403/+390
2020-12-14Clean up includesDavid Robillard1-0/+8
2020-11-29Put everything in a namespaceDavid Robillard1-2/+5
2020-11-29Completely isolate drivers from the rest of the applicationDavid Robillard1-1/+61
2020-11-29Replace attached and detached signals with eventsDavid Robillard1-5/+3
2020-11-28Log all events to message paneDavid Robillard1-5/+1
This is maybe a bit much, or they need to be cleaned up a bit to be more presentable, but I like the transparency.
2020-11-28Clean up includesDavid Robillard1-2/+2
2020-11-28Avoid copying port IDsDavid Robillard1-2/+2
2020-11-28Abstract out sending of eventsDavid Robillard1-24/+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-28Refresh by emitting eventsDavid Robillard1-235/+51
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-28Factor out getting client and port metadata and send it with eventsDavid Robillard1-3/+57
2020-11-28Clean up order of ALSA event handlingDavid Robillard1-19/+26
2020-11-28Move PortType to its own headerDavid Robillard1-0/+1
2020-11-28Move SignalDirection to its own headerDavid Robillard1-0/+1
2020-11-28Rename ModuleType to SignalDirectionDavid Robillard1-8/+9
2020-11-28Move handle_event() to separate filesDavid Robillard1-0/+1
2020-11-28Index clients and ports by IDDavid Robillard1-4/+6
2020-11-28Make PatchageEvent a variantDavid Robillard1-18/+13
2020-11-28Remove useless doc commentsDavid Robillard1-13/+0
2020-11-28Simplify driver connection interfaceDavid Robillard1-34/+11
2020-11-28Always index Jack ports and refer to them by nameDavid Robillard1-25/+46
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-27Fix spelling error in AlsaDriver.cppDennis Braun1-1/+1
2020-11-27Ensure that modules always have an IDDavid Robillard1-1/+3
2020-11-27Remove use of PatchagePort from Driver connection interfaceDavid Robillard1-35/+50
2020-11-27Ensure that ports always have an IDDavid Robillard1-4/+6
2020-11-27Use a consistent style for log messagesDavid Robillard1-21/+24
2020-11-27Use prettier names for log methodsDavid Robillard1-22/+22
2020-11-27Factor out log from Patchage classDavid Robillard1-23/+24
Towards saner dependencies.
2020-11-27Replace boost::format with fmtDavid Robillard1-10/+7
2020-11-27Fix shadowingDavid Robillard1-27/+35
2020-11-27Fix unused parameter warningsDavid Robillard1-5/+4
2020-11-27Don't use else after returnDavid Robillard1-7/+12
I don't always agree with this one, but in this case it's reasonable enough.
2020-11-27Fix mismatched parameter namesDavid Robillard1-10/+11
2020-11-27Use C++ castsDavid Robillard1-1/+1
Unfortunately, the warning needs to stay on because of Gtk and ALSA.
2020-11-27Initialize all membersDavid Robillard1-0/+1
2020-11-27Use std::mutexDavid Robillard1-2/+3
2020-11-27Use consistent naming convention for enum classesDavid Robillard1-12/+12
2020-11-27Use enum classesDavid Robillard1-19/+24
2020-11-27Always initialize variablesDavid Robillard1-13/+13
2020-11-27Always use braces around statementsDavid Robillard1-14/+25
2020-11-27Use auto where appropriateDavid Robillard1-9/+8