PASDK-376:Update build configurations
[processor-sdk/performance-audio-sr.git] / pasdk / test_dsp / framework / alphaFuncProc.c
index 3c59875d34d7376c074c07cee4a929ce0a4c6487..c9544284a961c5a7746d765c1692e0143d2bd264 100644 (file)
@@ -257,16 +257,10 @@ Void AFP_process(
  */
 Void taskAfpFxn(AFP_Handle handle)
 {
-#ifndef SIMULATE_RX_ALPHA
     IALG_Status *pStatus;
     IHeap_Handle hHeap;
     void *memSeg;
-#else // SIMULATE_RX_ALPHA
-    Uint32 randVal;
-    Uint32 timeout;
-#endif // SIMULATE_RX_ALPHA
     
-#ifndef SIMULATE_RX_ALPHA
     Log_info0("TaskAfp: Enter");
 
     if (handle == NULL)
@@ -379,30 +373,6 @@ Void taskAfpFxn(AFP_Handle handle)
     Log_info0("TaskAfp: Exit");
     Task_setPri(TaskAfp, -1);
     Task_yield();
-#else // SIMULATE_RX_ALPHA
-    //System_printf("Enter taskAfpFxn()\n");
-    Log_info0("Enter taskAfpFxn()");
-
-    for (;;)
-    {
-        /* Compute next time out for one-shot timer */
-        randVal = (Uint32)rand();
-        timeout = (randVal - (randVal / RX_ALPHA_DELTA_TICKS)*RX_ALPHA_DELTA_TICKS) + RX_ALPHA_MIN_TICKS;
-        Clock_setTimeout(clockRxAlpha, timeout);
-        Clock_start(clockRxAlpha);
-
-        //System_printf("Start Rx alpha clock, timeout=%lu\n",(ULong)timeout);
-        Log_info1("Start Rx alpha clock, timeout=%u", timeout);
-        
-        /* Post semaphore indicating Rx alpha command */
-        Semaphore_pend(semaphoreRxAlpha, BIOS_WAIT_FOREVER); 
-
-        gTaskAfpCnt++;
-    }
-    
-    //System_printf("Exit taskAfpFxn()\n");
-    Log_info0("Exit taskAfpFxn()");
-#endif // SIMULATE_RX_ALPHA
 }
 
 const AFP_Fxns AFP_DEFAULT_FXNS = {