xllp_audio.h

来自「Xcale270Bsp包,wince平台」· C头文件 代码 · 共 47 行

H
47
字号
/******************************************************************************
**
**  COPYRIGHT (C) 2001, 2002 Intel Corporation.
**
**  This software as well as the software described in it is furnished under
**  license and may only be used or copied in accordance with the terms of the
**  license. The information in this file is furnished for informational use
**  only, is subject to change without notice, and should not be construed as
**  a commitment by Intel Corporation. Intel Corporation assumes no
**  responsibility or liability for any errors or inaccuracies that may appear
**  in this document or any software that may be provided in association with
**  this document. 
**  Except as permitted by such license, no part of this document may be 
**  reproduced, stored in a retrieval system, or transmitted in any form or by
**  any means without the express written consent of Intel Corporation. 
**
**  FILENAME:       xllp_audio.h
**
******************************************************************************/

#ifndef __XLLP_AUDIO_H__
#define __XLLP_AUDIO_H__

#include "xllp_ac97.h"
#include "xllp_common.h"
#include "xllp_ost.h"

#define XLLP_AUDIO_CODEC_ID     XLLP_AC97_CODEC_PRIMARY
#define XLLP_AC97_U14_MAX_VOLUME    63
#define XLLP_AC97_U14_MAX_ADCGAIN   15

typedef enum 
{
    XLLP_AC97_MIC,
    XLLP_AC97_LINEIN
}XLLP_AC97_ADC_SOURCE;

XLLP_BOOL_T XllpAc97SetDACVolume(P_XLLP_AC97_T pAC97Reg, P_XLLP_OST_T pOstRegs, 
							XLLP_UINT8_T leftVolume, XLLP_UINT8_T rightVolume);
XLLP_BOOL_T XllpAc97SetADCGain(P_XLLP_AC97_T pAC97Reg, P_XLLP_OST_T pOstRegs, 
							XLLP_UINT8_T leftVolume, XLLP_UINT8_T rightVolume);
XLLP_BOOL_T XllpAc97SetSampleRate(P_XLLP_AC97_T pAC97Reg, P_XLLP_OST_T pOstRegs, 
							XLLP_BOOL_T isDAC, XLLP_UINT32_T sampleRate);
XLLP_BOOL_T XllpAc97SelectADCSource(P_XLLP_AC97_T pAC97Reg, P_XLLP_OST_T pOstRegs, 
							XLLP_AC97_ADC_SOURCE source);

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?