Yucca thanx for the help but now the recorder options are not coming...i.e it is not showing the recording menu options..what i think is dus to the the state of the CMdaRecorderUtility...it is somewhere E: NotReady due to not opening the audio file which is to be played......
this is my code for recorder constructor..i don't know where the problem is....also convert utility is not working fine as the file whihc i create before running the program becomes a damge file after execution of this code..it given nullsoft waveform coder error...
iMdaAudioRecorderUtility = CMdaAudioRecorderUtility::New(*this);
iMdaAudioConvertUtility = CMdaAudioConvertUtility::NewL(*this);
// Open an existing sample file for playback or recording
//causes //MMdaObjectStateChangeObserver::MoscoStateChange//Event to be called
Like I said, you should go and see what are the stages and possibly error situations and in which order they happen by putting a breakpoint to your MoscoStateChange function, it'll give you a lot better glue of your problem.
Anyway, I wouldn't try to open anything before the first open is finished the previous opening... might mess up something.
OpenFile of course opens an existing file with it's own parameters, the OpenL then opens/creates a file with given parameters, so you need to try and try again untill you find right parameters (codec & format) that will work.