prash_ht
February 12th, 2003, 05:17 AM
Hi,
I would like to know how to stop wave form recording and play again, i am reciveing voice packet from udp socket and playing it,my application needs constant muting and playing it back as and when user selects his choice.
currently i am able to record and send it over udp packets and recive it from udp packets and playing.
but when user selects mike disable,i should stop recording and do not send anything and if he enables means i should start recording and send again.
currently i am using waveInReset multimedia api followed by waveInClose which stops recording and mark the remaining queud buffer will be mark as done, but the application is hanging sometime and behaves very strangely?
i would like to know the solution for this or any relative multimedia api's and the sequence of using that.
thanks
Prashanth.H.T
I would like to know how to stop wave form recording and play again, i am reciveing voice packet from udp socket and playing it,my application needs constant muting and playing it back as and when user selects his choice.
currently i am able to record and send it over udp packets and recive it from udp packets and playing.
but when user selects mike disable,i should stop recording and do not send anything and if he enables means i should start recording and send again.
currently i am using waveInReset multimedia api followed by waveInClose which stops recording and mark the remaining queud buffer will be mark as done, but the application is hanging sometime and behaves very strangely?
i would like to know the solution for this or any relative multimedia api's and the sequence of using that.
thanks
Prashanth.H.T