Browse Source

Start a function to get build-time features

tags/v1.9.9
falkTX 7 years ago
parent
commit
3c6c972a8c
2 changed files with 13 additions and 1 deletions
  1. +7
    -0
      source/backend/CarlaUtils.cpp
  2. +6
    -1
      source/backend/CarlaUtils.h

+ 7
- 0
source/backend/CarlaUtils.cpp View File

@@ -536,6 +536,13 @@ const char* carla_get_supported_file_extensions()
return retText;
}

const char* const* carla_get_supported_features()
{
carla_debug("carla_get_supported_features()");

return nullptr;
}

// -------------------------------------------------------------------------------------------------------------------

void carla_fflush(bool err)


+ 6
- 1
source/backend/CarlaUtils.h View File

@@ -1,6 +1,6 @@
/*
* Carla Plugin Host
* Copyright (C) 2011-2014 Filipe Coelho <falktx@falktx.com>
* Copyright (C) 2011-2018 Filipe Coelho <falktx@falktx.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -138,6 +138,11 @@ CARLA_EXPORT const char* carla_get_complete_license_text();
*/
CARLA_EXPORT const char* carla_get_supported_file_extensions();

/*!
* Get the list of supported features in the current Carla build.
*/
CARLA_EXPORT const char* const* carla_get_supported_features();

/*!
* Get how many cached plugins are available.
* Internal, LV2 and AU plugin formats are cached and need to be discovered via this function.


Loading…
Cancel
Save