equal
deleted
inserted
replaced
61 #define TOTMSOUTPUT(output) TMSUtility::ToTMSOutput(output) |
61 #define TOTMSOUTPUT(output) TMSUtility::ToTMSOutput(output) |
62 #define TOTAROUTPUT(output) TMSUtility::ToTAROutput(output) |
62 #define TOTAROUTPUT(output) TMSUtility::ToTAROutput(output) |
63 #define TOFOURCC(format) TMSUtility::ToFourCC(format) |
63 #define TOFOURCC(format) TMSUtility::ToFourCC(format) |
64 #define TOTMSFORMAT(fourcc) TMSUtility::FourCCToTMSFormat(fourcc) |
64 #define TOTMSFORMAT(fourcc) TMSUtility::FourCCToTMSFormat(fourcc) |
65 |
65 |
|
66 _LIT(KTMSPanic, "TMS Panic!" ); |
|
67 #define PANIC(reason) User::Panic(KTMSPanic, reason) |
|
68 |
66 // TMSUtility class |
69 // TMSUtility class |
67 class TMSUtility |
70 class TMSUtility |
68 { |
71 { |
69 public: |
72 public: |
70 IMPORT_C static gint TMSResult(const gint error); |
73 IMPORT_C static gint TMSResult(const gint error); |
|
74 IMPORT_C static gint EtelToTMSResult(const gint error); |
71 IMPORT_C static TMSAudioOutput ToTMSOutput( |
75 IMPORT_C static TMSAudioOutput ToTMSOutput( |
72 CTelephonyAudioRouting::TAudioOutput taroutput); |
76 CTelephonyAudioRouting::TAudioOutput taroutput); |
73 IMPORT_C static CTelephonyAudioRouting::TAudioOutput ToTAROutput( |
77 IMPORT_C static CTelephonyAudioRouting::TAudioOutput ToTAROutput( |
74 TMSAudioOutput output); |
78 TMSAudioOutput output); |
75 IMPORT_C static TUint32 ToFourCC(TMSFormatType frmtType); |
79 IMPORT_C static TUint32 ToFourCC(TMSFormatType frmtType); |