You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
585 B
27 lines
585 B
/*
|
|
* Copyright (c) Hisilicon Technologies Co., Ltd. 2019-2019. All rights reserved.
|
|
* Description: adec volume function
|
|
* Author: audio
|
|
* Create: 2019-12-30
|
|
*/
|
|
|
|
#ifndef __ADEC_VOLUME_H__
|
|
#define __ADEC_VOLUME_H__
|
|
|
|
#include "adec_core.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif /* __cplusplus */
|
|
|
|
td_void adec_process_volume(td_s32 *pcm_buf, td_s32 samples,
|
|
td_s32 bit_per_sample, td_s32 channels, td_s16 volume);
|
|
td_void adec_set_volume(adec_chan *adec, td_u32 volume);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif /* __cplusplus */
|
|
|
|
#endif /* __ADEC_VOLUME_H__ */
|
|
|