summaryrefslogtreecommitdiffstats
path: root/src/JackDbusDriver.cpp
AgeCommit message (Collapse)AuthorFilesLines
2021-01-02Format all code with clang-formatDavid Robillard1-752/+732
2020-11-29Use more reasonable class namesDavid Robillard1-1/+1
2020-11-29Put everything in a namespaceDavid Robillard1-0/+7
2020-11-29Completely isolate drivers from the rest of the applicationDavid Robillard1-2/+81
2020-11-29Add AudioDriver interfaceDavid Robillard1-56/+54
2020-11-29Remove flaky DSP load meterDavid Robillard1-47/+0
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-29Replace attached and detached signals with eventsDavid Robillard1-9/+10
2020-11-28Clean up includesDavid Robillard1-2/+0
2020-11-28Avoid copying port IDsDavid Robillard1-2/+2
2020-11-28Remove Jack header dependency from DBus driverDavid Robillard1-2/+2
2020-11-28Remove dead codeDavid Robillard1-31/+0
2020-11-28Abstract out sending of eventsDavid Robillard1-17/+8
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-251/+68
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-28Move PortType to its own headerDavid Robillard1-0/+1
2020-11-28Move SignalDirection to its own headerDavid Robillard1-0/+1
2020-11-28Remove alternative USE_FULL_REFRESH Jack DBus codeDavid Robillard1-56/+2
2020-11-28Fix sample rate with Jack DBusDavid Robillard1-3/+3
2020-11-28Rename ModuleType to SignalDirectionDavid Robillard1-4/+4
2020-11-28Move handle_event() to separate filesDavid Robillard1-0/+1
2020-11-28Index clients and ports by IDDavid Robillard1-37/+43
2020-11-28Remove useless doc commentsDavid Robillard1-3/+0
2020-11-28Simplify driver connection interfaceDavid Robillard1-17/+16
2020-11-28Always index Jack ports and refer to them by nameDavid Robillard1-3/+13
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-28Log attachment message for Jack DBusDavid Robillard1-0/+2
2020-11-28Fix connections with Jack DBusDavid Robillard1-2/+2
2020-11-28Clean up error messages in Jack DBus driverDavid Robillard1-3/+3
2020-11-27Ensure that modules always have an IDDavid Robillard1-1/+1
2020-11-27Remove use of PatchagePort from Driver connection interfaceDavid Robillard1-20/+28
2020-11-27Ensure that ports always have an IDDavid Robillard1-2/+5
2020-11-27Use a consistent style for log messagesDavid Robillard1-13/+13
2020-11-27Use prettier names for log methodsDavid Robillard1-2/+2
2020-11-27Factor out log from Patchage classDavid Robillard1-3/+4
Towards saner dependencies.
2020-11-27Fix warnings in Jack DBus driverDavid Robillard1-78/+75
2020-11-27Replace boost::format with fmtDavid Robillard1-23/+27
2020-11-27Strengthen warning flagsDavid Robillard1-9/+9
2020-11-27Fix unused parameter warningsDavid Robillard1-29/+29
2020-11-27Use static_cast to convert from void pointersDavid Robillard1-1/+1
2020-11-27Use consistent naming convention for enum classesDavid Robillard1-7/+7
2020-11-27Use enum classesDavid Robillard1-6/+7
2020-11-27Use nullptrDavid Robillard1-9/+11
2020-11-27Fix warnings in Jack DBus driverDavid Robillard1-6/+6
2020-11-27Remove unused definesDavid Robillard1-5/+2
2020-02-09Format all code with clang-formatDavid Robillard1-205/+394
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 dead codeDavid Robillard1-38/+0
2019-12-29Clean up includesDavid Robillard1-12/+12
2015-02-17Delete trailing whitespace.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5582 a436a847-0d15-0410-975c-d299462d15a1
2014-11-19Fix compilation with Jack DBus.David Robillard1-2/+44
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5489 a436a847-0d15-0410-975c-d299462d15a1
2013-06-09Fix compilation with --jack-dbus (#917).David Robillard1-74/+56
I don't know why I maintain this or what the point of it is... git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5141 a436a847-0d15-0410-975c-d299462d15a1
2012-01-18Use consistent *_config.h rather than *-config.h.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3963 a436a847-0d15-0410-975c-d299462d15a1
2011-11-27Document public API.David Robillard1-1/+1
Remove weird canvas parent event handler stuff. Normalize selection rectangle and simplify "within" methods accordingly. Move Port::disconnect_all() to Connectable::disconnect_all(). git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3649 a436a847-0d15-0410-975c-d299462d15a1