You Are Here:

Community: Wiki

 

Talk:Recording audio with stream

From Forum Nokia Wiki

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);

Updates

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.

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia