📄 tm1300debug_audio.h
字号:
/*
* Copyright (c) 1999 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 : tm1300Debug_audio.h 1.4
*
* Last update : 18:47:23 - 00/11/09
*
* Description :
*
* TM1300 debug board description of the audio peripherals
*
*/
#ifndef TM1300DEBUG_AUDIO_H
#define TM1300DEBUG_AUDIO_H
#if defined(__cplusplus)
extern "C" {
#endif /* defined(__cplusplus) */
#define TM1300DEBUG_SUPPORTED_AUDIO_OUT_TYPES (atfLinearPCM)
#define TM1300DEBUG_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 | \
apfFiveDotOne16 | \
apfFiveDotOne32 | \
apfSevenDotOne16 | \
apfSevenDotOne32)
#define TM1300_DEBUG_OUTPUT_AUDIO_ADAPTERS (aaaNone | aaaLineOutput1)
#define TM1300DEBUG_SUPPORTED_AI_TYPES (atfLinearPCM)
#define TM1300DEBUG_SUPPORTED_AI_SUBTYPES (apfStereo16)
#define TM1300DEBUG_INPUT_AI_ADAPTERS (aaaNone | aaaLineInput)
#define TM1300DEBUG_SUPPORTED_SPDO_TYPES (atfSPDIF)
#define TM1300DEBUG_SUPPORTED_SPDO_SUBTYPES (apfNone)
#define TM1300DEBUG_OUTPUT_SPDO_ADAPTERS (aaaNone | aaaDigitalOutput)
extern tmLibdevErr_t tm1300Debug_AO_Init(boardAOParam_t * param);
extern tmLibdevErr_t tm1300Debug_AO_Term(void);
extern tmLibdevErr_t tm1300Debug_AO_Start(void);
extern tmLibdevErr_t tm1300Debug_AO_Stop(void);
extern tmLibdevErr_t tm1300Debug_AO_SetSRate(Float sRate);
extern tmLibdevErr_t tm1300Debug_AO_GetSRate(Float * sRate);
extern tmLibdevErr_t tm1300Debug_AO_Config(UInt32 subaddr, Pointer value);
extern tmLibdevErr_t tm1300Debug_AI_Init(boardAIParam_t * param);
extern tmLibdevErr_t tm1300Debug_AI_Term(void);
extern tmLibdevErr_t tm1300Debug_AI_Start(void);
extern tmLibdevErr_t tm1300Debug_AI_Stop(void);
extern tmLibdevErr_t tm1300Debug_AI_SetSRate(Float sRate);
extern tmLibdevErr_t tm1300Debug_AI_GetSRate(Float * sRate);
extern tmLibdevErr_t tm1300Debug_SPDO_Init(boardSPDOParam_t * param);
extern tmLibdevErr_t tm1300Debug_SPDO_Term(void);
extern tmLibdevErr_t tm1300Debug_SPDO_Start(void);
extern tmLibdevErr_t tm1300Debug_SPDO_Stop(void);
extern tmLibdevErr_t tm1300Debug_SPDO_SetSRate(Float sRate);
extern tmLibdevErr_t tm1300Debug_SPDO_GetSRate(Float * sRate);
#if defined(__cplusplus)
}
#endif /* defined(__cplusplus) */
#endif /* TM1300DEBUG_AUDIO_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -