Commit graph

9 commits

Author SHA1 Message Date
Paul Davis
1d6c2a946d second attempt at fixing the launchpad pro port name mess
It turns out that slightly older versions of ALSA create different "pretty"
port names for USB MIDI devices than slightly newer ones. The new versions
use names that match those seen on other platforms.

This means that to do port matching on Linux now requires a regexp
to match the possible alternatives. This matters much more for the LPP,
which has 3 input ports and 3 output ports, than it does for most devices
that have a single input and single output, and we can "find" the ports
just using simple string searching
2023-10-13 21:16:27 -06:00
Paul Davis
f8ed004be0 make MIDISurface::midi_input_handler() public
It needs to be public to bind it to a signal from a derived class.
Silly C++.
2023-08-30 16:06:13 -06:00
Paul Davis
599998bd1f midisurface: add a vector constructor for MidByteArry
plus a few minor code tweaks
2023-08-30 16:06:13 -06:00
Paul Davis
45e3408595 minor tweak to MIDISurface API
Allows connecting additional ports to our parsers
2023-08-30 16:06:13 -06:00
Paul Davis
4052537e0f midisurfaces: make connection_handler() private 2023-04-21 15:38:40 -06:00
Paul Davis
f718279949 surfaces & event loops: i really mean no more request buffer factories 2023-04-21 13:55:58 -06:00
Paul Davis
9dc53f9400 midi surfaces: no reason for the connection handler to be virtual 2023-04-21 12:16:37 -06:00
Paul Davis
b35518e212 switch from boost::{shared,weak}_ptr to std::{shared,weak}_ptr
This is mostly a simple lexical search+replace but the absence of operator< for
std::weak_ptr<T> leads to some complications, particularly with Evoral::Sequence
and ExportPortChannel.
2023-03-24 14:19:15 -06:00
Robin Gareus
d521c2ede6
src-tree cleanup: separate surfaces from libraries
libardourcp and now libardour_midisurface are not control
surfaces, but helper libraries for those.
They need to be deployed to the library folder (shared between
ctrl surfaces) and not scanned as ctrl surfaces at runtime.
2022-11-19 00:09:17 +01:00