mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
LCXL: add missing request-buffer factory.
This commit is contained in:
parent
6d983d5f0b
commit
be51e617bb
1 changed files with 7 additions and 0 deletions
|
|
@ -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; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue