1) Include file: MmfCodec.h
is not part of public SDK (at least 3rd edition MR or FP1).
this MediaClientAudioStream.lib is not working for me on 2nd sdk its gives me linker error on NewL,Stop etc.
2) In metod CStreamRecorder::Record() i think you have mistake
if(iSoundData) { delete iSoundData; iSoundData = NULL; iSoundData = HBufC8::NewL(KMaxFileSize); }
it look like this
if(iSoundData) { delete iSoundData; iSoundData = NULL; } iSoundData = HBufC8::NewL(KMaxFileSize);
It's worth noting that you require the UserEnvironment capability to use CMdaAudioInputStream.
The other thing I discovered is that: iInputStream->SetAudioPropertiesL() leaves with "Feature Not Supported" for all input values on an N95, although it works fine in the emulator.