camcordermmfplugin/mediarecorder/Src/CCMRAudioInput.cpp
branchRCL_3
changeset 34 27fe719c32e6
parent 33 e3cdd00b5ae3
equal deleted inserted replaced
33:e3cdd00b5ae3 34:27fe719c32e6
    42 #include <e32svr.h>
    42 #include <e32svr.h>
    43 #define PRINT(x) RDebug::Print x
    43 #define PRINT(x) RDebug::Print x
    44 #else
    44 #else
    45 #define PRINT(x)
    45 #define PRINT(x)
    46 #endif
    46 #endif
    47 
       
    48 // Unused parameter macro
       
    49 #define UNUSED(x) (void)x;
       
    50 
       
    51 
    47 
    52 #include "OstTraceDefinitions.h"
    48 #include "OstTraceDefinitions.h"
    53 #ifdef OST_TRACE_COMPILER_IN_USE
    49 #ifdef OST_TRACE_COMPILER_IN_USE
    54 #include "CCMRAudioInputTraces.h"
    50 #include "CCMRAudioInputTraces.h"
    55 #endif
    51 #endif
   972 //
   968 //
   973 // -----------------------------------------------------------------------------
   969 // -----------------------------------------------------------------------------
   974 //
   970 //
   975 void CCMRAudioInput::ToneFinished(TInt aError)
   971 void CCMRAudioInput::ToneFinished(TInt aError)
   976     {
   972     {
   977     UNUSED(aError);
       
   978     PRINT((_L("CCMRAudioInput::ToneFinished(), error:%d"), aError));
   973     PRINT((_L("CCMRAudioInput::ToneFinished(), error:%d"), aError));
   979     }
   974     }
   980 
   975 
   981 // -----------------------------------------------------------------------------
   976 // -----------------------------------------------------------------------------
   982 // CCMRAudioInput::BufferToBeFilled
   977 // CCMRAudioInput::BufferToBeFilled
   993 //
   988 //
   994 // -----------------------------------------------------------------------------
   989 // -----------------------------------------------------------------------------
   995 //
   990 //
   996 void CCMRAudioInput::PlayError(TInt aError)
   991 void CCMRAudioInput::PlayError(TInt aError)
   997     {
   992     {
   998     UNUSED(aError);
       
   999     PRINT((_L("CCMRAudioInput::PlayError(), error:%d"), aError));
   993     PRINT((_L("CCMRAudioInput::PlayError(), error:%d"), aError));
  1000     }
   994     }
  1001 
   995 
  1002 // -----------------------------------------------------------------------------
   996 // -----------------------------------------------------------------------------
  1003 // CCMRAudioInput::BufferToBeEmptied
   997 // CCMRAudioInput::BufferToBeEmptied
  1033 //
  1027 //
  1034 // -----------------------------------------------------------------------------
  1028 // -----------------------------------------------------------------------------
  1035 //
  1029 //
  1036 void CCMRAudioInput::ConvertError(TInt aError)
  1030 void CCMRAudioInput::ConvertError(TInt aError)
  1037     {
  1031     {
  1038     UNUSED(aError);
       
  1039     PRINT((_L("CCMRAudioInput::ConvertError(), error:%d"), aError));
  1032     PRINT((_L("CCMRAudioInput::ConvertError(), error:%d"), aError));
  1040     }
  1033     }
  1041 
  1034 
  1042 // -----------------------------------------------------------------------------
  1035 // -----------------------------------------------------------------------------
  1043 // CCMRAudioInput::DeviceMessage
  1036 // CCMRAudioInput::DeviceMessage