diff gsm-fw/L1/audio_cust0/l1audio_cust.h @ 603:d638de8cc6b8

gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 28 Aug 2014 18:40:12 +0000
parents 57ad8f4d5cb5
children
line wrap: on
line diff
--- a/gsm-fw/L1/audio_cust0/l1audio_cust.h	Sun Aug 17 21:35:23 2014 +0000
+++ b/gsm-fw/L1/audio_cust0/l1audio_cust.h	Thu Aug 28 18:40:12 2014 +0000
@@ -7,6 +7,9 @@
  *
  ************* Revision Controle System Header *************/
 
+#ifndef _L1AUDIO_CUST_H_
+#define _L1AUDIO_CUST_H_
+
 #if (AUDIO_TASK == 1)
 
   #if (OP_RIV_AUDIO == 0)
@@ -119,6 +122,8 @@
   #define SESSION_ERROR     1   // Wrong session id
   #define POINTER_ERROR     2   // Wrong ptr argument
   #define DATA_AVAIL_ERROR  3   // No more data available
+  #define DATA_LAST         4   // Last buffer, no more data available after
+  #define WAIT_FOR_DATA     6
 
   #if (AUDIO_MODE)
     #define GSM_ONLY        0   // GSM normal mode
@@ -142,8 +147,20 @@
          // size of the E2 instrument buffers > 1
          // size of DSP trace buffer > 1
   #endif
+  
 #endif // AUDIO_TASK
 
 // Number of coefficient for each FIR (fixed value)
 #define MAX_FIR_COEF  31
 
+// Triton Audio ON/OFF Changes
+#if (L1_AUDIO_MCU_ONOFF == 1)
+// Num of radio frames the audio path is kept on after all 
+// users have requested turn off
+// 0..255
+#define L1_AUDIO_ON2OFF_UL_HOLD_TIME    20 //127
+#define L1_AUDIO_ON2OFF_DL_HOLD_TIME    20 //127
+#endif
+
+
+#endif      // _L1AUDIO_CUST_H_