94 int buffersize; |
94 int buffersize; |
95 int volume; |
95 int volume; |
96 int dev_count; |
96 int dev_count; |
97 TInt iCallbackError; |
97 TInt iCallbackError; |
98 TUint32 fourcc; |
98 TUint32 fourcc; |
|
99 TUint32 iSamplesPlayed; |
99 bool eosReceived; |
100 bool eosReceived; |
100 //sem_t mutex; |
101 //sem_t mutex; |
101 //RArray<TFourCC> supportedtypes; |
102 //RArray<TFourCC> supportedtypes; |
102 CErrorConcealmentIntfc* iErrConcealmentIntfc; |
103 CErrorConcealmentIntfc* iErrConcealmentIntfc; |
103 CG711DecoderIntfc* iG711DecoderIntfc; |
104 CG711DecoderIntfc* iG711DecoderIntfc; |
104 CG729DecoderIntfc* iG729DecoderIntfc; |
105 CG729DecoderIntfc* iG729DecoderIntfc; |
105 CIlbcDecoderIntfc* iIlbcDecoderIntfc; |
106 CIlbcDecoderIntfc* iIlbcDecoderIntfc; |
106 CAudioOutput* iAudioOutput; |
107 CAudioOutput* iAudioOutput; |
107 |
108 bool iIsBufferToBeFilledDone; |
108 |
109 |
109 public: |
110 public: |
110 void InitializeComplete(TInt aError); |
111 void InitializeComplete(TInt aError); |
111 void ToneFinished(TInt aError); |
112 void ToneFinished(TInt aError); |
112 void BufferToBeFilled(CMMFBuffer* aBuffer); |
113 void BufferToBeFilled(CMMFBuffer* aBuffer); |
140 void set_volume(DevSoundWrapper* handle,int volume); |
141 void set_volume(DevSoundWrapper* handle,int volume); |
141 |
142 |
142 int open_devsound(DevSoundWrapper **handle); |
143 int open_devsound(DevSoundWrapper **handle); |
143 int open_device(DevSoundWrapper **handle); |
144 int open_device(DevSoundWrapper **handle); |
144 int initialize_devsound(GstDevsoundSink* sink); |
145 int initialize_devsound(GstDevsoundSink* sink); |
|
146 int pause_devsound(GstDevsoundSink *ds); |
|
147 int resume_devsound(GstDevsoundSink *ds); |
145 int close_devsound(GstDevsoundSink *ds); |
148 int close_devsound(GstDevsoundSink *ds); |
146 int check_if_device_open(DevSoundWrapper *handle) ; |
149 int check_if_device_open(DevSoundWrapper *handle) ; |
147 |
|
148 int get_ds_cb_error(DevSoundWrapper *handle); |
150 int get_ds_cb_error(DevSoundWrapper *handle); |
|
151 #ifdef AV_SYNC |
|
152 gboolean is_timeplayed_supported(DevSoundWrapper *handle); |
|
153 #endif /*AV_SYNC*/ |
149 |
154 |
150 //Error Concealment custom interface |
155 //Error Concealment custom interface |
151 void conceal_error_for_next_buffer(DevSoundWrapper *handle); |
156 void conceal_error_for_next_buffer(DevSoundWrapper *handle); |
152 void set_framemode(DevSoundWrapper *handle,gboolean mode); |
157 void set_framemode(DevSoundWrapper *handle,gboolean mode); |
153 int framemode_rqrd_for_ec(DevSoundWrapper *handle,gboolean* modereq); |
158 int framemode_rqrd_for_ec(DevSoundWrapper *handle,gboolean* modereq); |