mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-08-07 18:47:54 +00:00
ext/libsamplerate: adjust config.h to be package exclusive
`config.h` being in `include` directory meant that it was included globally. It may cause it being indluded into other package (as global include) Added prefixes to libsamplerate syscfg settings.
This commit is contained in:
committed by
Krzysztof Kopyściński
parent
75b35adb69
commit
65fcd4245e
@@ -22,19 +22,19 @@
|
||||
|
||||
#include "syscfg/syscfg.h"
|
||||
|
||||
#if MYNEWT_VAL(ENABLE_SINC_BEST_CONVERTER)
|
||||
#if MYNEWT_VAL(LIBSAMPLERATE_ENABLE_SINC_BEST_CONVERTER)
|
||||
#define ENABLE_SINC_BEST_CONVERTER 1
|
||||
#endif
|
||||
|
||||
#if MYNEWT_VAL(ENABLE_SINC_MEDIUM_CONVERTER)
|
||||
#if MYNEWT_VAL(LIBSAMPLERATE_ENABLE_SINC_MEDIUM_CONVERTER)
|
||||
#define ENABLE_SINC_MEDIUM_CONVERTER 1
|
||||
#endif
|
||||
|
||||
#if MYNEWT_VAL(ENABLE_SINC_FAST_CONVERTER)
|
||||
#if MYNEWT_VAL(LIBSAMPLERATE_ENABLE_SINC_FAST_CONVERTER)
|
||||
#define ENABLE_SINC_FAST_CONVERTER 1
|
||||
#endif
|
||||
|
||||
#if MYNEWT_VAL(LIBSAMPLER_NDEBUG)
|
||||
#if MYNEWT_VAL(LIBSAMPLERATE_LIBSAMPLER_NDEBUG)
|
||||
#define LIBSAMPLER_NDEBUG 1
|
||||
#endif
|
||||
|
||||
@@ -16,15 +16,15 @@
|
||||
# under the License.
|
||||
|
||||
syscfg.defs:
|
||||
ENABLE_SINC_BEST_CONVERTER:
|
||||
LIBSAMPLERATE_ENABLE_SINC_BEST_CONVERTER:
|
||||
description: Enable SINC best converter
|
||||
value: 1
|
||||
ENABLE_SINC_MEDIUM_CONVERTER:
|
||||
LIBSAMPLERATE_ENABLE_SINC_MEDIUM_CONVERTER:
|
||||
description: Enable SINC medium converter
|
||||
value: 1
|
||||
ENABLE_SINC_FAST_CONVERTER:
|
||||
LIBSAMPLERATE_ENABLE_SINC_FAST_CONVERTER:
|
||||
description: Enable SINC fastest converter
|
||||
value: 1
|
||||
LIBSAMPLER_NDEBUG:
|
||||
LIBSAMPLERATE_LIBSAMPLER_NDEBUG:
|
||||
description: Define NDEBUG for resampler code (turns off asserts)
|
||||
value: 0
|
||||
|
||||
Reference in New Issue
Block a user