📄 drvauprocess.h
字号:
////////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2006-2007 MStar Semiconductor, Inc.
// All rights reserved.
//
// Unless otherwise stipulated in writing, any and all information contained
// herein regardless in any format shall remain the sole proprietary of
// MStar Semiconductor Inc. and be kept in strict confidence
// (¨MStar Confidential Information〃) by the recipient.
// Any unauthorized act including without limitation unauthorized disclosure,
// copying, use, reproduction, sale, distribution, modification, disassembling,
// reverse engineering and compiling of the contents of MStar Confidential
// Information is unlawful and strictly prohibited. MStar hereby reserves the
// rights to any and all damages, losses, costs and expenses resulting therefrom.
//
////////////////////////////////////////////////////////////////////////////////
#ifndef _AUPROCESS_H_
#define _AUPROCESS_H_
#ifdef _AUPROCESS_C_
#define _AUPROCESS_DECLAIM_
#else
#define _AUPROCESS_DECLAIM_ extern
#endif
#include "drvAuCommon.h"
enum
{
SUBWOOFER=0x00,
VOLUME_BALANCE=0x01,
SPATIAL=0x02,
BASS_TREBLE=0x03,
AUTO_VOLUME=0x04,
DAC_OUTPUT=0x05,
SOUND_EFFECT=0x06,
STEREO_MODE=0x07,
SOUND_MODE=0x08
};
typedef enum
{
Au_surroundType_Mountain, //0
Au_surroundType_Champaign, //1
Au_surroundType_City, //2
Au_surroundType_Theater //3
} Au_surroundType;
typedef enum
{
Au_AVC_MODE0, //0
Au_AVC_MODE1, //1
Au_AVC_MODE2, //2
Au_AVC_MODE3 //3
} Au_AVC_MODE;
void MDrv_AuProcessInit(void);
void MDrv_AuProcessSetMute(BYTE path, BOOL enable);
void MDrv_AuProcessSetVolume(BYTE path, BYTE volume);
void MDrv_AuProcessSetVolumeMap(BYTE map1, BYTE map2, BYTE map3, BYTE map4, BYTE map5);
void MDrv_AuProcessAbsoluteVolume(BYTE path, BYTE vol1, BYTE vol2);
void MDrv_AuProcessSetPreScale(BYTE path, BYTE prescale);
void MDrv_AuProcessDisableChannel(BYTE path, BYTE disable);
void MDrv_AuProcessSetBalance(BYTE path, BYTE balance);
void MDrv_AuProcessSetBass(BYTE path, BYTE level);
void MDrv_AuProcessSetTreble(BYTE path, BYTE level);
void MDrv_AuProcessSetSubwooferCutFreq(BYTE cutfreq);
void MDrv_AuProcessSetMonoToStereo(BYTE mode);
void MDrv_AuProcessSetSurround(BYTE mode);
void MDrv_AuProcessSetAutoVolume(BYTE mode);
void MDrv_AuProcessEnable(BYTE type, BYTE mode);
void MDrv_AuProcessSetEq(BYTE band, BYTE level);
void MDrv_AuProcessSetEq7(BYTE band, BYTE level);
void MDrv_AuProcessLoudnessEnable(BOOL enable);
BOOL MDrv_AuProcessLoadCode(AUDIO_ALG_INFO *pau_info);
void MDrv_AuProcessSetADCThreshold(BYTE threshold);
#endif // _AUPROCESS_H_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -