furi_hal_speaker.h 305 B

123456789101112131415161718192021
  1. /**
  2. * @file furi_hal_speaker.h
  3. * Speaker HAL
  4. */
  5. #pragma once
  6. #ifdef __cplusplus
  7. extern "C" {
  8. #endif
  9. void furi_hal_speaker_init();
  10. void furi_hal_speaker_start(float frequency, float volume);
  11. void furi_hal_speaker_set_volume(float volume);
  12. void furi_hal_speaker_stop();
  13. #ifdef __cplusplus
  14. }
  15. #endif