equalizer.h 504 B

12345678910111213141516171819
  1. /*
  2. * Squeezelite for esp32
  3. *
  4. * (c) Philippe G. 2020, philippe_44@outlook.com
  5. *
  6. * This software is released under the MIT License.
  7. * https://opensource.org/licenses/MIT
  8. *
  9. */
  10. #pragma once
  11. void equalizer_init(void);
  12. void equalizer_close(void);
  13. void equalizer_set_samplerate(uint32_t samplerate);
  14. void equalizer_set_gain(int8_t *gain);
  15. void equalizer_set_loudness(u8_t loudness);
  16. void equalizer_set_volume(unsigned left, unsigned right);
  17. void equalizer_process(uint8_t *buf, uint32_t bytes);