summaryrefslogtreecommitdiffstats
path: root/src/Patchage.cpp
AgeCommit message (Collapse)AuthorFilesLines
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
2020-11-27Use auto where appropriateDavid Robillard1-15/+15
2020-11-27Use nullptrDavid Robillard1-11/+11
2020-02-09Use range-based for loops in more placesDavid Robillard1-5/+5
2020-02-09Format all code with clang-formatDavid Robillard1-163/+187
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.
2020-02-09Remove standard using declarationsDavid Robillard1-16/+10
2019-12-29Clean up includesDavid Robillard1-24/+22
2019-12-29Use std::shared_ptrDavid Robillard1-1/+1
2016-12-14Fix potential infinite loopDavid Robillard1-0/+9
2016-07-08Add option to disable port sortingDavid Robillard1-1/+16
Fixes #1082
2015-12-04Bring back Jack buffer size selectorDavid Robillard1-5/+35
2015-02-22Support Jack port order metadata.David Robillard1-0/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5598 a436a847-0d15-0410-975c-d299462d15a1
2015-02-21Order ports deterministically.David Robillard1-0/+12
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5593 a436a847-0d15-0410-975c-d299462d15a1