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

📄 dtv_ref2_audio.h

📁 用于TM1300/PNX1300系列DSP(主要用于视频处理)的设备库的源码
💻 H
字号:
/*
 * Copyright (c) 1997, 1998 by TriMedia Technologies. 
 *
 * +------------------------------------------------------------------+
 * | This software is furnished under a license and may only be used  |
 * | and copied in accordance with the terms and conditions of  such  |
 * | a license and with the inclusion of this copyright notice. This  |
 * | software or any other copies of this software may not be provided|
 * | or otherwise made available to any other person.  The ownership  |
 * | and title of this software is not transferred.                   |
 * |                                                                  |
 * | The information in this software is subject  to change without   |
 * | any  prior notice and should not be construed as a commitment by |
 * | TriMedia Technologies.                                           |
 * |                                                                  |
 * | this code and information is provided "as is" without any        |
 * | warranty of any kind, either expressed or implied, including but |
 * | not limited to the implied warranties of merchantability and/or  |
 * | fitness for any particular purpose.                              |
 * +------------------------------------------------------------------+
 *
 *  Module name              : dtv_ref2_audio.h    1.5
 *
 *  Last update              : 18:53:23 - 00/11/09
 *
 *  Description              : 
 *
 *  Control functions for audio on TM DTV board
 *  This include file is designed to be exported only to the 
 *  board support package.
 *
 *  Revision                 :
 *		
 *      
 *
 */
#ifndef  _DTV_REF2_AUDIO_H_
#define  _DTV_REF2_AUDIO_H_

#define DTV_REF2_SUPPORTED_AUDIO_IN_TYPES       (atfLinearPCM | atf1937)
#define DTV_REF2_SUPPORTED_AUDIO_IN_SUBTYPES    (apfStereo16)
#define DTV_REF2_SUPPORTED_AUDIO_OUT_TYPES       (atfLinearPCM | atf1937)
#define DTV_REF2_SUPPORTED_AUDIO_OUT_SUBTYPES      (apfStereo16 |           \
                                                    apfStereo32 |           \
                                                    apfFourCh_3_1_0_16 |    \
                                                    apfFourCh_2_2_0_16 |    \
                                                    apfFourCh_2_1_1_16 |    \
                                                    apfFourCh_3_0_1_16 |    \
                                                    apfFourCh_3_1_0_32 |    \
                                                    apfFourCh_2_2_0_32 |    \
                                                    apfFourCh_2_1_1_32 |    \
                                                    apfFourCh_3_0_1_32 |    \
                                                    apfSevenDotOne16 |      \
                                                    apfSevenDotOne32)
                                                    
#define DTV_REF2_OUTPUT_AUDIO_ADAPTERS           (aaaNone | aaaLineOutput1 )
#define DTV_REF2_INPUT_AUDIO_ADAPTERS            (aaaNone | aaaLineInput | \
                                                  aaaDigitalInput)




#if	defined(__cplusplus)
extern	"C"	{
#endif	/* defined(__cplusplus) */

extern tmLibdevErr_t dtv_ref2_AI_Init(pboardAIParam_t param);   
extern tmLibdevErr_t dtv_ref2_AI_Term(void);
extern tmLibdevErr_t dtv_ref2_AI_Start(void);
extern tmLibdevErr_t dtv_ref2_AI_Stop(void);
extern tmLibdevErr_t dtv_ref2_AI_SetSrate(Float sRate);
extern tmLibdevErr_t dtv_ref2_AI_GetSrate(Float * sRate);
extern tmLibdevErr_t dtv_ref2_AI_SetInput(tmAudioAnalogAdapter_t input);
extern tmLibdevErr_t dtv_ref2_AI_GetInput(tmAudioAnalogAdapter_t *input);
extern tmLibdevErr_t dtv_ref2_AI_GetFormat(tmAudioFormat_t *inputFormat);
extern tmLibdevErr_t dtv_ref2_AI_Config(UInt32 subaddr, Pointer value);


extern tmLibdevErr_t dtv_ref2_AO_Init(pboardAOParam_t param);
extern tmLibdevErr_t dtv_ref2_AO_Term(void);
extern tmLibdevErr_t dtv_ref2_AO_Start(void);
extern tmLibdevErr_t dtv_ref2_AO_Stop(void);
extern tmLibdevErr_t dtv_ref2_AO_SetSRate(Float sRate);
extern tmLibdevErr_t dtv_ref2_AO_GetSRate(Float * sRate);
extern tmLibdevErr_t dtv_ref2_AO_Config(UInt32 subaddr, Pointer value);

#if	defined(__cplusplus)
}
#endif	/* defined(__cplusplus) */

#endif  /* _DTV_REF2_AUDIO_H_ */


⌨️ 快捷键说明

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