//==========================================================================
// File Name   : SACM_A1800_Decode_RAM.inc
// Description : Variables declaration for SACM_A1800_decode.asm
// Modified by : Ray Cheng
// Last modified date:
//              2005/12/26
//==========================================================================
.ifndef __SACM_A1800_DECODE_RAM_INC__
.define __SACM_A1800_DECODE_RAM_INC__

// Memory public declaration
//.public R_SACM_A1800_Play_Flag
.public R_SACM_A1800_Play_Gain
.public R_SACM_A1800_Resouce_BS
.public R_SACM_A1800_Resouce_DS
.public R_SACM_A1800_Decode_In_Buffer
.public R_SACM_A1800_Decode_Length_L
.public R_SACM_A1800_Decode_Length_H
.public R_SACM_A1800_Decode_Count_L
.public R_SACM_A1800_Decode_Count_H
.public	R_SACM_A1800_DAC_Out_Buffer
.public R_SACM_A1800_Decode_In_PTR
.public	R_SACM_A1800_DAC_Out_PTR_Play
.public R_SACM_A1800_DAC_Out_PTR_Decode
.public R_SACM_A1800_DECODE_IN_LENGTH

.public R_A1800_NextIndex				// 2007.01.12 Ray
.public R_SACM_A1800_Play_Next_Flag		// 2007.01.12 Ray

//.public R_SACM_A1800_ADC_In_PTR_Encode

//.public R_SACM_Siren7_ADC_In_PTR_Encode
//.public R_SACM_Siren7_Decode_In_PTR
//.public R_SACM_Siren7_DAC_Out_PTR_Decode

//.public R_BITRATE
//.public	R_BITSOFEACHFRAME
.comment @
.public R_SACM_A1800_ADC_In_PTR_Rec
.public R_SACM_A1800_ADC_In_Buffer
.public R_SACM_A1800_Encode_Out_Buffer
.public R_SACM_A1800_Encode_Out_PTR
.public R_SACM_A1800_Encode_Count_L
.public R_SACM_A1800_Encode_Count_H
//.public R_SACM_A1800_Encode_Length_L
//.public R_SACM_A1800_Encode_Length_H
.public R_SACM_A1800_ENCODE_OUT_LENGTH
@
.public R_SACM_A1800_Decode_Out_PTR    //20060630
.public R_SACM_A1800_DECODE_OUT_LENGTH //20060630

R_SACM_A1800_Decode_In_Buffer:
.dw C_DECODE_IN_LENGTH dup(?)

R_SACM_A1800_DAC_Out_Buffer:
.dw 2 * C_DECODE_OUT_LENGTH dup(?)

//.var R_SACM_A1800_Play_Flag
.var R_SACM_A1800_Play_Gain
.var R_SACM_A1800_Resouce_BS
.var R_SACM_A1800_Resouce_DS
.var R_SACM_A1800_Decode_In_PTR
.var R_SACM_A1800_DAC_Out_PTR_Play
.var R_SACM_A1800_DAC_Out_PTR_Decode
.var R_SACM_A1800_Decode_Length_L
.var R_SACM_A1800_Decode_Length_H
.var R_SACM_A1800_Decode_Count_L
.var R_SACM_A1800_Decode_Count_H
.var R_SACM_A1800_DECODE_IN_LENGTH

.var R_SACM_A1800_Decode_Out_PTR    //20060630
.var R_SACM_A1800_DECODE_OUT_LENGTH //20060630

//.var R_SACM_A1800_ADC_In_PTR_Encode
//.var R_BITRATE
//.var R_BITSOFEACHFRAME

.var R_A1800_NextIndex						// 2007.01.12 Ray
.var R_SACM_A1800_Play_Next_Flag			// 2007.01.12 Ray

.comment @
.define R_SACM_A1800_ADC_In_PTR_Rec		R_SACM_A1800_DAC_Out_PTR_Play
.define R_SACM_A1800_ADC_In_Buffer		R_SACM_A1800_DAC_Out_Buffer
.define R_SACM_A1800_Encode_Out_Buffer	R_SACM_A1800_Decode_In_Buffer
.define R_SACM_A1800_Encode_Out_PTR		R_SACM_A1800_Decode_In_PTR
.define R_SACM_A1800_Encode_Count_L		R_SACM_A1800_Decode_Count_L
.define R_SACM_A1800_Encode_Count_H		R_SACM_A1800_Decode_Count_H
//.define R_SACM_A1800_Encode_Length_L		R_SACM_A1800_Decode_Length_L
//.define R_SACM_A1800_Encode_Length_H		R_SACM_A1800_Decode_Length_H
.define R_SACM_A1800_ENCODE_OUT_LENGTH	R_SACM_A1800_DECODE_IN_LENGTH

.define R_SACM_Siren7_ADC_In_PTR_Encode 	R_SACM_A1800_ADC_In_PTR_Encode
.define R_SACM_Siren7_Decode_In_PTR			R_SACM_A1800_Decode_In_PTR
.define R_SACM_Siren7_DAC_Out_PTR_Decode	R_SACM_A1800_DAC_Out_PTR_Decode
@

.endif
