//==========================================================================
// File Name   : SACM_A1800_Constant.inc
// Description : Play flag and buffer size definition
// Modified by : Ray Cheng
// Last modified date:
//              2005/12/26
//==========================================================================
.ifndef __SACM_A1800_CONSTANT_INC__
.define __SACM_A1800_CONSTANT_INC__

// Constants Definition for R_SACM_A1800_Play_Flag
.define C_SACM_A1800_PLAY					0x0001
//.define C_SACM_A1800_RECORD				0x0002
//.define C_SACM_A1800_REC_Mon_ON			0x0002
.define C_SACM_A1800_CODEC_MODE			0x0002
.define C_SACM_A1800_PAUSE				0x0004
.define	C_SACM_A1800_RAMP_DN_ENABLE		0x0008
.define C_SACM_A1800_RAMP_UP_ENABLE		0x0010
.define C_SACM_A1800_ENABLE_DAC1			0x0020
.define C_SACM_A1800_ENABLE_DAC2			0x0040
.define	C_SACM_A1800_AUTO					0x0080
.define C_SACM_A1800_DECODE_WORK			0x0100
.define	C_SACM_A1800_DECODE_ODD			0x0200
.define C_SACM_A1800_DECODE_END			0x0400
//.define C_SACM_A1800_DECODE_RESERVE_1	0x0800
//.define C_SACM_A1800_CODEC_MODE			0x0800
.define C_SACM_A1800_REC_Mon_ON			0x0800
.define C_SACM_A1800_FIQ_SOUND			0x1000
.define	C_SACM_A1800_FIQ_EVEN				0x2000
//.define	C_SACM_A1800_ISR_ServiceLoop		0x4000
.define C_SACM_A1800_STOP					0x4000
.define	C_SACM_RESERVE						0x8000

// constant decoder
//.define C_DECODE_IN_LENGTH		80
.define C_DECODE_IN_LENGTH		45
.define C_DECODE_OUT_LENGTH		320

.comment @
// constant encoder
.define C_ENCODE_IN_LENGTH		320
//.define C_ENCODE_OUT_LENGTH		80
.define C_ENCODE_OUT_LENGTH		45
.define C_ADC_IN_LENGTH			320
@
.define C_EXT_EVENT_FLAG        0x8000           // R_SACM_A1800_Event_Flag bit15: 1-> external event, 0-> internal event, Added by Allen on 2014.05.09

.endif
