diff gsm-fw/L1/audio_include/l1audio_const.h @ 604:45bf440cc677

gsm-fw/L1/audio_include: initial preen over the imported LoCosto headers
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 28 Aug 2014 19:08:09 +0000
parents d638de8cc6b8
children
line wrap: on
line diff
--- a/gsm-fw/L1/audio_include/l1audio_const.h	Thu Aug 28 18:40:12 2014 +0000
+++ b/gsm-fw/L1/audio_include/l1audio_const.h	Thu Aug 28 19:08:09 2014 +0000
@@ -60,7 +60,7 @@
 #endif
   #define L1S_PCM_DOWNLOAD_STATE   34   // l1s_pcm_download_manager()
   #define L1S_PCM_UPLOAD_STATE     35   // l1s_pcm_upload_manager()
-#define L1S_FIR_STATE            36   // l1s_fir_manager()
+  #define L1S_FIR_STATE            36   // l1s_fir_manager()
 
 
   //----------------------------------------
@@ -69,7 +69,7 @@
 
   // bit in d_tch_mode for audio features
   #define B_VOICE_MEMO_DTX      (TRUE_L << 5)
-#if (DSP == 34) || (DSP == 35) || (DSP == 36) || (DSP == 37) || (DSP == 38) || (DSP == 39)
+#if (DSP >= 34)
   #define B_VM_VOCODER_SELECT   (TRUE_L << 6)
 #endif
 
@@ -396,7 +396,7 @@
     #define AUDIO_SP_MP3_CONF       2
     #define AUDIO_SP_EXTAUDIO_CONF  3
 
-#if (ANLG_FAM == 3)
+#if (ANALOG == 3)
     // sampling frequency 
     #define AUDIO_SP_FREQ_8         7
     #define AUDIO_SP_FREQ_11        6
@@ -407,7 +407,7 @@
     #define AUDIO_SP_FREQ_48        0
 #endif
 
-#if (ANLG_FAM == 11 || CODE_VERSION == SIMULATION)
+#if (ANALOG == 11 || CODE_VERSION == SIMULATION)
  // sampling frequency index for Triton. This would be set in the 
  //SRW[0:3] bits of the CTRL5 register.
     #define AUDIO_SP_FREQ_8           0