⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xllp_audio.h

📁 Xcale270Bsp包,wince平台
💻 H
字号:
/******************************************************************************
**
**  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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -