cfg_spectral.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /*
  2. * Copyright (c) 2018 The Linux Foundation. All rights reserved.
  3. *
  4. * Permission to use, copy, modify, and/or distribute this software for
  5. * any purpose with or without fee is hereby granted, provided that the
  6. * above copyright notice and this permission notice appear in all
  7. * copies.
  8. *
  9. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
  10. * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
  11. * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
  12. * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
  13. * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
  14. * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  15. * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  16. * PERFORMANCE OF THIS SOFTWARE.
  17. */
  18. /**
  19. * DOC: This file contains centralized cfg definitions of Spectral component
  20. */
  21. #ifndef __CONFIG_SPECTRAL_H
  22. #define __CONFIG_SPECTRAL_H
  23. /*
  24. * <ini>
  25. * spectral_disable - disable spectral feature
  26. * @Min: 0
  27. * @Max: 1
  28. * @Default: 0
  29. *
  30. * This ini is used to disable spectral feature.
  31. *
  32. * Related: None
  33. *
  34. * Supported Feature: Spectral
  35. *
  36. * Usage: External
  37. *
  38. * </ini>
  39. */
  40. #define CFG_SPECTRAL_DISABLE \
  41. CFG_INI_BOOL("spectral_disable", false, \
  42. "Spectral disable")
  43. #define CFG_SPECTRAL_ALL \
  44. CFG(CFG_SPECTRAL_DISABLE)
  45. #endif