summaryrefslogtreecommitdiffstats
path: root/src/Patchage.cpp
AgeCommit message (Collapse)AuthorFilesLines
2022-08-23Add i18n supportDavid Robillard1-15/+22
2022-08-22Replace boost with standard C++17 facilitiesDavid Robillard1-4/+3
2022-07-20Avoid using "static inline" for inline functions in headersDavid Robillard1-1/+1
2022-07-20Use default member initializationDavid Robillard1-2/+0
2022-07-20Use a uniform interface for changing settings in the UIDavid Robillard1-37/+31
2022-07-20Clean up includesDavid Robillard1-0/+6
2022-07-20Use strict castsDavid Robillard1-3/+7
2022-07-20Adopt REUSE machine-readable licensing standardDavid Robillard1-15/+2
2022-05-26Clean up includesDavid Robillard1-0/+1
2022-05-26Avoid potential null dereferencesDavid Robillard1-3/+5
As judged by GCC anyway.
2022-05-26Fix implicit floating point conversionDavid Robillard1-2/+2
GCC 12 warns about this with Wdouble-promotion.
2021-06-04Fix initialisation orderDavid Robillard1-3/+3
2021-05-11Refactor most functionality around actions and settingsDavid Robillard1-216/+234
This moves more code into general places, and completely eliminates dependencies on the Patchage "god object".
2021-05-11Add general configuration setting mechanismDavid Robillard1-29/+30
2021-05-11Register idle callback after all other setupDavid Robillard1-4/+4
2021-05-11Add Cleared event for implementing refresh without a raceDavid Robillard1-1/+1
2021-05-11Move drivers to a separate objectDavid Robillard1-50/+35
Towards eliminating dependencies on the Patchage "god object".
2021-05-11Remove unused member variableDavid Robillard1-1/+0
2021-05-11Move Coord to its own headerDavid Robillard1-0/+1
2021-05-10Add Action representation to isolate behaviour from canvas objectsDavid Robillard1-19/+8
A step towards isolating the canvas and ultimately the entire UI away so it can be replaced.
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.