64 const TMSStreamType strmType, const gint strmId); |
64 const TMSStreamType strmType, const gint strmId); |
65 virtual gint DeinitStream(const TMSCallType callType, |
65 virtual gint DeinitStream(const TMSCallType callType, |
66 const TMSStreamType strmType, const gint strmId); |
66 const TMSStreamType strmType, const gint strmId); |
67 virtual gint DeleteStream(const TMSCallType callType, |
67 virtual gint DeleteStream(const TMSCallType callType, |
68 const TMSStreamType strmType, const gint strmId); |
68 const TMSStreamType strmType, const gint strmId); |
69 virtual gint DataXferBufferEmptied(const TMSCallType callType, |
|
70 const TMSStreamType strmType, const gint strmId); |
|
71 virtual gint DataXferBufferFilled(const TMSCallType callType, |
|
72 const TMSStreamType strmType, const gint strmId, |
|
73 const guint datasize); |
|
74 virtual gint GetDataXferBufferHndl(const TMSCallType callType, |
|
75 const TMSStreamType strmType, const gint strmId, |
|
76 const guint32 key, RChunk& chunk); |
|
77 |
69 |
78 // From TMS effects |
70 // From TMS effects |
79 virtual gint GetMaxVolume(guint& volume); |
71 gint GetGlobalMaxVolume(guint& volume); |
80 virtual gint SetVolume(const guint volume); |
72 gint SetGlobalVolume(const guint volume); |
81 virtual gint GetVolume(guint& volume); |
73 gint GetGlobalVolume(guint& volume); |
82 virtual gint GetMaxGain(guint& gain); |
74 gint GetGlobalMaxGain(guint& gain); |
83 virtual gint SetGain(const guint gain); |
75 gint SetGlobalGain(const guint gain); |
84 virtual gint GetGain(guint& gain); |
76 gint GetGlobalGain(guint& gain); |
85 virtual gint GetGlobalMaxVolume(guint& volume); |
|
86 virtual gint SetGlobalVolume(const guint volume); |
|
87 virtual gint GetGlobalVolume(guint& volume); |
|
88 virtual gint GetGlobalMaxGain(guint& gain); |
|
89 virtual gint SetGlobalGain(const guint gain); |
|
90 virtual gint GetGlobalGain(guint& gain); |
|
91 |
|
92 // From TMS formats |
|
93 virtual gint GetCodecMode(const TMSFormatType fmttype, |
|
94 const TMSStreamType strmtype, gint& mode); |
|
95 virtual gint SetCodecMode(const TMSFormatType fmttype, |
|
96 const TMSStreamType strmtype, const gint mode); |
|
97 virtual gint GetSupportedBitRatesCount(guint& count); |
|
98 virtual gint GetSupportedBitRates(CBufFlat*& brbuffer); |
|
99 virtual gint GetBitRate(guint& bitrate); |
|
100 virtual gint SetBitRate(const guint bitrate); |
|
101 virtual gint GetVAD(const TMSFormatType fmttype, gboolean& vad); |
|
102 virtual gint SetVAD(const TMSFormatType fmttype, const gboolean vad); |
|
103 virtual gint GetCNG(const TMSFormatType fmttype, gboolean& cng); |
|
104 virtual gint SetCNG(const TMSFormatType fmttype, const gboolean cng); |
|
105 virtual gint GetPlc(const TMSFormatType fmttype, gboolean& plc); |
|
106 virtual gint SetPlc(const TMSFormatType fmttype, const gboolean plc); |
|
107 |
77 |
108 // From TMS audio routing |
78 // From TMS audio routing |
109 virtual gint SetOutput(const TMSAudioOutput output); |
79 virtual gint SetOutput(const TMSAudioOutput output); |
110 virtual gint GetOutput(TMSAudioOutput& output); |
80 virtual gint GetOutput(TMSAudioOutput& output); |
111 virtual gint GetPreviousOutput(TMSAudioOutput& output); |
81 virtual gint GetPreviousOutput(TMSAudioOutput& output); |
126 void AvailableOutputsChanged( |
96 void AvailableOutputsChanged( |
127 CTelephonyAudioRouting& aTelephonyAudioRouting); |
97 CTelephonyAudioRouting& aTelephonyAudioRouting); |
128 void OutputChanged(CTelephonyAudioRouting& aTelephonyAudioRouting); |
98 void OutputChanged(CTelephonyAudioRouting& aTelephonyAudioRouting); |
129 void SetOutputComplete(CTelephonyAudioRouting& aTelephonyAudioRouting, |
99 void SetOutputComplete(CTelephonyAudioRouting& aTelephonyAudioRouting, |
130 gint status); |
100 gint status); |
131 void GetSupportedBitRatesL(CBufFlat*& brbuffer); |
|
132 void NotifyClient(const gint strmId, const gint command, |
101 void NotifyClient(const gint strmId, const gint command, |
133 const gint status = KErrNone, const gint64 int64 = TInt64(0)); |
102 const gint status = KErrNone, const gint64 int64 = TInt64(0)); |
134 |
103 |
135 private: |
104 private: |
136 gint iNextStreamId; |
105 gint iNextStreamId; |