camcordermmfplugin/mediarecorder/Src/CCMRAudioInput.cpp
branchRCL_3
changeset 20 e3cdd00b5ae3
parent 8 6bc4220d7f67
child 21 27fe719c32e6
equal deleted inserted replaced
19:18fa9327a158 20:e3cdd00b5ae3
    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 
    47 
    51 
    48 #include "OstTraceDefinitions.h"
    52 #include "OstTraceDefinitions.h"
    49 #ifdef OST_TRACE_COMPILER_IN_USE
    53 #ifdef OST_TRACE_COMPILER_IN_USE
    50 #include "CCMRAudioInputTraces.h"
    54 #include "CCMRAudioInputTraces.h"
    51 #endif
    55 #endif
   968 //
   972 //
   969 // -----------------------------------------------------------------------------
   973 // -----------------------------------------------------------------------------
   970 //
   974 //
   971 void CCMRAudioInput::ToneFinished(TInt aError)
   975 void CCMRAudioInput::ToneFinished(TInt aError)
   972     {
   976     {
       
   977     UNUSED(aError);
   973     PRINT((_L("CCMRAudioInput::ToneFinished(), error:%d"), aError));
   978     PRINT((_L("CCMRAudioInput::ToneFinished(), error:%d"), aError));
   974     }
   979     }
   975 
   980 
   976 // -----------------------------------------------------------------------------
   981 // -----------------------------------------------------------------------------
   977 // CCMRAudioInput::BufferToBeFilled
   982 // CCMRAudioInput::BufferToBeFilled
   988 //
   993 //
   989 // -----------------------------------------------------------------------------
   994 // -----------------------------------------------------------------------------
   990 //
   995 //
   991 void CCMRAudioInput::PlayError(TInt aError)
   996 void CCMRAudioInput::PlayError(TInt aError)
   992     {
   997     {
       
   998     UNUSED(aError);
   993     PRINT((_L("CCMRAudioInput::PlayError(), error:%d"), aError));
   999     PRINT((_L("CCMRAudioInput::PlayError(), error:%d"), aError));
   994     }
  1000     }
   995 
  1001 
   996 // -----------------------------------------------------------------------------
  1002 // -----------------------------------------------------------------------------
   997 // CCMRAudioInput::BufferToBeEmptied
  1003 // CCMRAudioInput::BufferToBeEmptied
  1027 //
  1033 //
  1028 // -----------------------------------------------------------------------------
  1034 // -----------------------------------------------------------------------------
  1029 //
  1035 //
  1030 void CCMRAudioInput::ConvertError(TInt aError)
  1036 void CCMRAudioInput::ConvertError(TInt aError)
  1031     {
  1037     {
       
  1038     UNUSED(aError);
  1032     PRINT((_L("CCMRAudioInput::ConvertError(), error:%d"), aError));
  1039     PRINT((_L("CCMRAudioInput::ConvertError(), error:%d"), aError));
  1033     }
  1040     }
  1034 
  1041 
  1035 // -----------------------------------------------------------------------------
  1042 // -----------------------------------------------------------------------------
  1036 // CCMRAudioInput::DeviceMessage
  1043 // CCMRAudioInput::DeviceMessage