tvpaudio_fw.h

来自「ti的数字电视芯片 tvp9000的源码」· C头文件 代码 · 共 55 行

H
55
字号
/********************************************************************* 
*    Property of Texas Instruments Incorporated, Copyright 2004
*    All rights reserved
**********************************************************************/

/*********************************************************************
*
* Description:
*   public include file for the audio decoder
*   
**********************************************************************/
/**********************************************************************
*  
* $Revision: $ 
* 
* $History: TvpAudio_fw.h $   
* 
**********************************************************************/

#ifndef TVP_AUDIO_FW_DOT_H_IS_DEFINED
#define TVP_AUDIO_FW_DOT_H_IS_DEFINED

#define TVP_AD_SF_48        0x08000
#define TVP_AD_SF_44_1      0x14000
#define TVP_AD_SF_32        0x24000

typedef enum 
{
   TVP_AUD_PLAYING,
   TVP_AUD_IDLE
} TvpAudStatus;

typedef struct 
{
   TvpAudAlgorithmType  algorithm;
   TvpAudStatus         status;
   TvpIntNum            intNum;
   TvpAudIntEvent       *intStatus;
   TvpAudIntEvent       intConfig;
   unsigned long        prevSampFreq;
} TvpAudGlbl_s;

/*------------**
** Prototypes **
**------------*/
void tvpAudIsr (void);
void tvpAudIntSet_l (TvpAudIntEvent int_reason);
void tvpAudReset_l(void);
void tvpAudMonitorSampFreqChange (void);



#endif

⌨️ 快捷键说明

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