esp32s2_bare_board/main/services/audio_service/audio_service_process.h
2025-04-14 17:33:55 +08:00

55 lines
2.0 KiB
C

/**
* @file audio_service_process.h
* @author Alvin Young (impressionyang@outlook.com)
* @brief
* @version 0.1
* @date 2025-03-26
*
* _ _
* (_)_ _ ___ _______ ___ ___ (_)__ ___ __ _____ ____ ___ _
* / / ' \/ _ \/ __/ -_|_-<(_-</ / _ \/ _ \/ // / _ `/ _ \/ _ `/
* /_/_/_/_/ .__/_/ \__/___/___/_/\___/_//_/\_, /\_,_/_//_/\_, /
* /_/ /___/ /___/
* @copyright Copyright (c) 2025 impressionyang
*
* @par 修改日志:
* <table>
* <tr><th>Date <th>Version <th>Author <th>Description
* <tr><td>2025-03-26 <td>v1.0 <td>Alvin Young <td>首次创建
* </table>
*
*/
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __AUDIO_SERVICE_PROCESS_H__
#define __AUDIO_SERVICE_PROCESS_H__
#ifdef __cplusplus
extern "C" {
#endif
/* Includes ------------------------------------------------------------------*/
#include <stdint.h>
/* define --------------------------------------------------------------------*/
/* typedef -------------------------------------------------------------------*/
/* variables -----------------------------------------------------------------*/
/* Private function(only *.c) -----------------------------------------------*/
/* Exported functions --------------------------------------------------------*/
uint8_t imp_audio_service_codec_process_init();
uint8_t imp_audio_service_codec_read_process_reg(uint8_t reg_addr,
uint8_t* reg_data);
uint8_t imp_audio_service_codec_write_process_reg(uint8_t reg_addr,
uint8_t reg_data);
void imp_audio_service_codec_initialize();
void imp_audio_service_codec_start();
void imp_audio_service_codec_stop();
void imp_audio_service_codec_set_vol(uint8_t vol);
#ifdef __cplusplus
}
#endif
#endif //__AUDIO_SERVICE_PROCESS_H__
/*
* EOF
*/