pinebuds/services/audio_process/audio_cfg.h
2022-08-15 17:20:27 +08:00

43 lines
1.2 KiB
C

/***************************************************************************
*
* Copyright 2015-2019 BES.
* All rights reserved. All unpublished rights reserved.
*
* No part of this work may be used or reproduced in any form or by any
* means, or stored in a database or retrieval system, without prior written
* permission of BES.
*
* Use of this work is governed by a license granted by BES.
* This work contains confidential and proprietary information of
* BES. which is protected by copyright, trade secret,
* trademark and other intellectual property rights.
*
****************************************************************************/
#ifndef __AUDIO_CFG_H__
#define __AUDIO_CFG_H__
#ifdef __cplusplus
extern "C" {
#endif
#include "stdint.h"
enum AUDIO_PROCESS_TYPE_T {
AUDIO_PROCESS_TYPE_IIR_EQ = 0,
AUDIO_PROCESS_TYPE_DRC,
AUDIO_PROCESS_TYPE_LIMITER,
AUDIO_PROCESS_TYPE_NUM,
};
struct AUDIO_CFG_T_;
typedef struct AUDIO_CFG_T_ AUDIO_CFG_T;
int sizeof_audio_cfg(void);
int store_audio_cfg_into_audio_section(AUDIO_CFG_T *cfg);
void *load_audio_cfg_from_audio_section(enum AUDIO_PROCESS_TYPE_T type);
#ifdef __cplusplus
}
#endif
#endif