summaryrefslogtreecommitdiffstats
path: root/src/Patchage.cpp
AgeCommit message (Collapse)AuthorFilesLines
2021-04-08Show latency in toolbar with 2 decimal placesColin Fowler1-2/+2
The previous millisecond precision was ambiguous for some configurations, for example both 32 and 64 frames at 96kHz would show 1ms latency.
2021-01-02Format all code with clang-formatDavid Robillard1-538/+531
2020-12-16Fix build on MacOSDavid Robillard1-5/+7
2020-12-15Use correct include for GdkEventDavid Robillard1-1/+0
2020-12-14Clean up includesDavid Robillard1-4/+51
2020-11-30Fix clang-tidy warningsDavid Robillard1-1/+1
2020-11-29Unconditionally remove ports on Jack driver detachmentDavid Robillard1-8/+6
2020-11-29Use fmt to build toolbar textDavid Robillard1-6/+4
2020-11-29Remove more dead codeDavid Robillard1-26/+14
2020-11-29Use more reasonable class namesDavid Robillard1-25/+23
2020-11-29Put everything in a namespaceDavid Robillard1-0/+4
2020-11-29Clean up Patchage classDavid Robillard1-0/+6
2020-11-29Remove unnecessary use of shared_ptrDavid Robillard1-1/+2
2020-11-29Completely isolate drivers from the rest of the applicationDavid Robillard1-77/+53
2020-11-29Use Jack driver exclusively through AudioDriver interfaceDavid Robillard1-8/+3
2020-11-29Add AudioDriver interfaceDavid Robillard1-1/+1
2020-11-29Remove flaky DSP load meterDavid Robillard1-7/+14
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-29Move command line handling to mainDavid Robillard1-37/+5
2020-11-29Fix build on MacOSDavid Robillard1-1/+2
2020-11-29Simplify refreshingDavid Robillard1-36/+31
2020-11-29Reduce preprocessor gunkDavid Robillard1-9/+6
Now that the ALSA driver is only used through the base class, the pointer can always be there, even if AlsaDriver isn't actually compiled in.
2020-11-29Replace attached and detached signals with eventsDavid Robillard1-46/+33
2020-11-29Remove redundant loggingDavid Robillard1-1/+1
2020-11-28Log all events to message paneDavid Robillard1-0/+2
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-28Reduce use of raw new and deleteDavid Robillard1-49/+43
2020-11-28Use AlsaDriver only through base class interfaceDavid Robillard1-7/+4
2020-11-28Remove Jack header dependency from DBus driverDavid Robillard1-3/+4
2020-11-28Remove Jack session supportDavid Robillard1-133/+0
2020-11-28Abstract out sending of eventsDavid Robillard1-15/+27
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-7/+21
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-28Use anonymous namespaces instead of staticDavid Robillard1-4/+12
2020-11-28Remove dead codeDavid Robillard1-5/+0
2020-11-28Move handle_event() to separate filesDavid Robillard1-0/+1
2020-11-28Factor out Connector from PatchageCanvasDavid Robillard1-1/+5
This finally breaks the dependency of the canvas on the entire application, and fixes the confusing situation where it wasn't clear whether connect/disconnect methods made/broke connections on the canvas or on the system.
2020-11-27Add missing namespace qualificationDavid Robillard1-1/+1
2020-11-27Use a consistent style for log messagesDavid Robillard1-5/+7
2020-11-27Use prettier names for log methodsDavid Robillard1-5/+5
2020-11-27Factor out log from Patchage classDavid Robillard1-58/+9
Towards saner dependencies.
2020-11-27Replace boost::format with fmtDavid Robillard1-2/+5
2020-11-27Strengthen warning flagsDavid Robillard1-1/+1
2020-11-27Fix unused parameter warningsDavid Robillard1-8/+9
2020-11-27Avoid default arguments on virtual methodsDavid Robillard1-1/+1
2020-11-27Don't use else after returnDavid Robillard1-4/+9
I don't always agree with this one, but in this case it's reasonable enough.
2020-11-27Avoid C castsDavid Robillard1-6/+7
2020-11-27Use C++ castsDavid Robillard1-4/+4
Unfortunately, the warning needs to stay on because of Gtk and ALSA.
2020-11-27Initialize all membersDavid Robillard1-0/+1
2020-11-27Use "using"David Robillard1-2/+3
2020-11-27Use enum classesDavid Robillard1-2/+2
2020-11-27Always initialize variablesDavid Robillard1-10/+12
2020-11-27Always use braces around statementsDavid Robillard1-6/+12