CMMFDevSound & Fullduplex (S60 3rd FP1)

Login to reply to this topic.
Wed, 2008-04-30 09:26
Joined: 2006-10-11
Forum posts: 11

Hello all, I'm trying to do a fullduplex feature using two interfaces of CMMFDevSound (one for input & one for output). The audio format is PCM16 16KHz. At this moment I'm getting PlayError Callback with error -21 KErrAccessDenied.
Someone, please know the meaning of this code?
I'm at very beginning version , and I'm not using any thread. I'm creating/initializing CMMFDevSound (first input, second output) at the main app thread. This could be the problem? Because I've take a look to the Nokia FullDuplexEx example and is using threads.

Regards,
Sergio.


Wed, 2008-04-30 11:39
Joined: 2006-10-11
Forum posts: 11
Re: CMMFDevSound & Fullduplex (S60 3rd FP1)

Thank you all. Changing CMMFDevSound intialization order do the trick. First initialize output then input.
The threads doesn't have any importance.
In resume it works. Creating two CMMFDevSound (output then input) and play recordeds buffers do the FULL-DUPLEX job.

Sergio.

Thu, 2008-05-29 13:50
Joined: 2005-02-02
Forum posts: 3
Re: CMMFDevSound & Fullduplex (S60 3rd FP1)

Hi, did you copy the header file containing CMMFDevSound from the previous releases of SDK? As far as i understand it is officialy not part of any S60 3.x SDK.

Fri, 2008-05-30 07:31
Joined: 2006-10-11
Forum posts: 11
Re: CMMFDevSound & Fullduplex (S60 3rd FP1)

Hi, in this case, I don't remember if I use headers and libraries from S60 3rd MR (Maintenance Release). Could it be.
Sergio.

  • Login to reply to this topic.