From be51e617bb8c60596503a7c9a3bd7c3f469fa48c Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 7 Aug 2018 15:40:30 +0200 Subject: [PATCH] LCXL: add missing request-buffer factory. --- libs/surfaces/launch_control_xl/interface.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libs/surfaces/launch_control_xl/interface.cc b/libs/surfaces/launch_control_xl/interface.cc index 95f3825bb2..7b21609fa9 100644 --- a/libs/surfaces/launch_control_xl/interface.cc +++ b/libs/surfaces/launch_control_xl/interface.cc @@ -73,6 +73,12 @@ probe_launch_control_xl (ControlProtocolDescriptor*) return LaunchControlXL::probe(); } +static void* +lcxl_request_buffer_factory (uint32_t num_requests) +{ + return LaunchControlXL::request_factory (num_requests); +} + static ControlProtocolDescriptor launch_control_xl_descriptor = { /*name : */ "Novation Launch Control XL", /*id : */ "uri://ardour.org/surfaces/launch_control_xl:0", @@ -87,6 +93,7 @@ static ControlProtocolDescriptor launch_control_xl_descriptor = { /*probe : */ probe_launch_control_xl, /*initialize : */ new_launch_control_xl, /*destroy : */ delete_launch_control_xl, + /*request_buffer_factory */ lcxl_request_buffer_factory }; extern "C" ARDOURSURFACE_API ControlProtocolDescriptor* protocol_descriptor () { return &launch_control_xl_descriptor; }