//==========================================================================
// File Name   : SACM_A1800_Constant.inc
// Description : External functions and external variables declaration
// Modified by : Ray Cheng
// Last modified date:
//              2005/12/26
//==========================================================================
.ifndef __SACM_A1800_DECODE_INC__
.define __SACM_A1800_DECODE_INC__

// external function
//.external F_SACM_A1800_Decode_Initial_DAC
.external F_SACM_A1800_Decode_Initial_BS
.external F_SACM_A1800_Decode_Initial_Process
.external F_SACM_A1800_Decode_Process
.external F_SACM_A1800_Decode_Get_BS_Auto
.external F_SACM_A1800_System_Get_BS_Manual

.external F_SACM_A1800_Encode_Initial_BS
.external F_SACM_A1800_Encode_Initial_Process
.external F_SACM_A1800_Encode_Process
//.external F_SACM_A1800_Encode_Put_BS_Auto
.external F_SACM_A1800_System_Put_BS_Manual
.external F_SACM_A1800_Encode_Finish_Process

// Resource Table
.external T_SACM_A1800_SpeechTable  // in resource.asm

// RAM Variables
.external R_SACM_A1800_Play_Flag
.external R_SACM_A1800_Play_Gain
.external R_SACM_A1800_Resouce_BS
.external R_SACM_A1800_Resouce_DS
.external R_SACM_A1800_Decode_In_Buffer
//.external R_SACM_A1800_Decode_Length_L
//.external R_SACM_A1800_Decode_Length_H
.external R_SACM_A1800_Decode_Count_L
.external R_SACM_A1800_Decode_Count_H
//.external R_SACM_A1800_Decode_Out_Buffer
.external R_SACM_A1800_DAC_Out_Buffer
.external R_SACM_A1800_Decode_In_PTR
.external R_SACM_A1800_DAC_Out_PTR_Play
.external R_SACM_A1800_DAC_Out_PTR_Decode
//.external R_SACM_A1800_Resouce_BS
//.external R_SACM_A1800_Resouce_DS
//.external R_SACM_A1800_Decode_In_Buffer
//.external R_SACM_A1800_ISR_Flag			// by Ray 2004.09.07

.external R_A1800_NextIndex						// 2007.01.12 Ray
.external R_SACM_A1800_Play_Next_Flag		// 2007.01.12 Ray
.comment @
.external R_SACM_A1800_ADC_In_PTR_Rec
.external R_SACM_A1800_ADC_In_Buffer
.external R_SACM_A1800_Encode_Out_Buffer
.external R_SACM_A1800_Encode_Out_PTR
.external R_SACM_A1800_Encode_Count_L
.external R_SACM_A1800_Encode_Count_H
.external R_SACM_A1800_Encode_Length_L
.external R_SACM_A1800_Encode_Length_H
.external R_ENCODE_OUT_LENGTH
@
//.external R_BITRATE
//.external R_BITSOFEACHFRAME  //add by wgp 20060518

.endif
