not able to simultaneously record and play audio in 6680
| Mon, 2006-04-10 10:09 | |
|
Hi,
I am making an application where once I start recording after some time I want to playback an mp3 while the recording is going on. But as soon as I start playing the playout completes with error code -13. 6680 supports full duplex and accordingly it should be able to record and play simultaneously. But its not happening. I am using CMdaAudioPlayerUtility for playing the audio and CMdaAudioRecorderUtility for recording purpose. When I start recording and while recording if I start playing the playout completes with Error code -13. I have set the recorder priority to 80. iRecorder = CMdaAudioRecorderUtility::NewL(*this, NULL, 80, EMdaPriorityPreferenceTimeAndQuality); I am recording in Gsm wave codec iPlayer = CMdaAudioPlayerUtility::NewL(*this); I am playing an mp3 file. If I dont set the priority then if I start playing while the recording is on then the recording stops. Why does the recording and playout cant go on simultaneously when the device supports full duplex. I also tried using CMdaAudioInputstream and CMdaAudioOutputstream but then again when I start playing when the recording is going on the playout completes immediately with error code -13. Is there any other API,s by which I can record and play simultaneously in 6680 as this device supports full duplex audio. Plz help.... regards, Santosh Shetty. |
|






Forum posts: 11
The error you reported seems to not a problem with the player or recorder ,it is wrong parameters
regards
Sivakumar
Forum posts: 17
But if I stop the recorder and then start playing the voice then ont get this error -13.
regards,
Santosh Shetty.
Forum posts: 17