54 const TMSStreamType strmType, const gint strmId) = 0; |
54 const TMSStreamType strmType, const gint strmId) = 0; |
55 virtual gint DeinitStream(const TMSCallType callType, |
55 virtual gint DeinitStream(const TMSCallType callType, |
56 const TMSStreamType strmType, const gint strmId) = 0; |
56 const TMSStreamType strmType, const gint strmId) = 0; |
57 virtual gint DeleteStream(const TMSCallType callType, |
57 virtual gint DeleteStream(const TMSCallType callType, |
58 const TMSStreamType strmType, const gint strmId) = 0; |
58 const TMSStreamType strmType, const gint strmId) = 0; |
59 virtual gint DataXferBufferEmptied(const TMSCallType callType, |
|
60 const TMSStreamType strmType, const gint strmId) = 0; |
|
61 virtual gint DataXferBufferFilled(const TMSCallType callType, |
|
62 const TMSStreamType strmType, const gint strmId, |
|
63 const guint datasize) = 0; |
|
64 virtual gint GetDataXferBufferHndl(const TMSCallType callType, |
|
65 const TMSStreamType strmType, const gint strmId, |
|
66 const guint32 key, RChunk& chunk) = 0; |
|
67 |
|
68 // From TMS effects |
|
69 virtual gint GetMaxVolume(guint& volume) = 0; |
|
70 virtual gint SetVolume(const guint volume) = 0; |
|
71 virtual gint GetVolume(guint& volume) = 0; |
|
72 virtual gint GetMaxGain(guint& gain) = 0; |
|
73 virtual gint SetGain(const guint gain) = 0; |
|
74 virtual gint GetGain(guint& gain) = 0; |
|
75 virtual gint GetGlobalMaxVolume(guint& volume) = 0; |
|
76 virtual gint SetGlobalVolume(const guint volume) = 0; |
|
77 virtual gint GetGlobalVolume(guint& volume) = 0; |
|
78 virtual gint GetGlobalMaxGain(guint& gain) = 0; |
|
79 virtual gint SetGlobalGain(const guint gain) = 0; |
|
80 virtual gint GetGlobalGain(guint& gain) = 0; |
|
81 |
|
82 // From TMS formats |
|
83 virtual gint GetCodecMode(const TMSFormatType fmttype, |
|
84 const TMSStreamType strmtype, gint& mode) = 0; |
|
85 virtual gint SetCodecMode(const TMSFormatType fmttype, |
|
86 const TMSStreamType strmtype, const gint mode) = 0; |
|
87 virtual gint GetSupportedBitRatesCount(guint& count) = 0; |
|
88 virtual gint GetSupportedBitRates(CBufFlat*& brbuffer) = 0; |
|
89 virtual gint GetBitRate(guint& bitrate) = 0; |
|
90 virtual gint SetBitRate(const guint bitrate) = 0; |
|
91 virtual gint GetVAD(const TMSFormatType fmttype, gboolean& vad) = 0; |
|
92 virtual gint SetVAD(const TMSFormatType fmttype, const gboolean vad) = 0; |
|
93 virtual gint GetCNG(const TMSFormatType fmttype, gboolean& cng) = 0; |
|
94 virtual gint SetCNG(const TMSFormatType fmttype, const gboolean cng) = 0; |
|
95 virtual gint GetPlc(const TMSFormatType fmttype, gboolean& plc) = 0; |
|
96 virtual gint SetPlc(const TMSFormatType fmttype, const gboolean plc) = 0; |
|
97 |
59 |
98 // From TMS routing |
60 // From TMS routing |
99 virtual gint SetOutput(const TMSAudioOutput output) = 0; |
61 virtual gint SetOutput(const TMSAudioOutput output) = 0; |
100 virtual gint GetOutput(TMSAudioOutput& output) = 0; |
62 virtual gint GetOutput(TMSAudioOutput& output) = 0; |
101 virtual gint GetPreviousOutput(TMSAudioOutput& output) = 0; |
63 virtual gint GetPreviousOutput(TMSAudioOutput& output) = 0; |