Hi,
I have Change the OpenL() function to following
Code:
iSrcFormat = TMdaWavClipFormat();
iConverter->OpenL(KSrcFileStream,
&iDesClipLocation1,
&iSrcFormat);
the Converters State is changed tp EOpen but then if I try to call a PlayL() or RecordL on it i get a KErrNotReady Error.
Code:
if (iConverter == aObject){
if (aPreviousState == CMdaAudioConvertUtility::ENotReady &&
aCurrentState == CMdaAudioConvertUtility::EOpen){
iState = EConvert;
TRAPD(err, iConverter->RecordL());
if (KErrNone != err){
TBuf<64> temp;
temp.Num(err);
iEikonEnv->InfoWinL(_L("Error"), temp);
iConverter->Stop();
iConverter->Close();
}
}
}
Some One plz Help