Hi,
AMR-NB to PCM16 conversion uid codec is 0x101FAF67.
Is conversion of AMR-WB supported in Symbian OS 7.0s (SDK 2.0 )?
What is the uid codec for AMR-WB?
Regards,
shagor
Hi,
AMR-NB to PCM16 conversion uid codec is 0x101FAF67.
Is conversion of AMR-WB supported in Symbian OS 7.0s (SDK 2.0 )?
What is the uid codec for AMR-WB?
Regards,
shagor
Hello folks,
Unfortunately there are no Nokia professionals visiting this site.
Regards,
shagor
it could also be that the information is not included in the public SDKs, so they rather not touch this topic.
yucca
Or, it could be that they are lazy, unhelpful, and understaffed.
How hard is it to say, "sorry we cant help" ?
Anyways, shagor, I will give you the magic number, but you have to help me make it work.
0x101FAF5E
Now, the problem I am having is that it will process the first frame, but after that I have to send each frame through twice to get a half rate sample.
Also, I've only just found the UID, and only tested it on the emulator so far.
BTW, there doesnt seem to be a PCMtoAWB codec.
Hi unkomon,
I have tried codec UID 0x101FAF5E for converting AMR-WB to PCM. It does not process the conversion with this uid.
iOCodec = CMMFCodec::NewL(TUid::Uid(0x101FAF5E));
TCodecProcessResult result = iOCodec->ProcessL(*iAmrBuffer,*iPcm16Buffer);
if((result.iStatus == TCodecProcessResult::EProcessComplete))
{
aDestBuffer.Copy(iPcm16Buffer->Data());
}
So I get EDstNotFilled in result.iStatus. So iOCodec can not process with the UID you have given. We have to find the correct UID for playing AMR-WB.
Hope to hearing from you.
Regards,
shagor
Regards,
shagor
I see that you wont be much help in making it work...
The uid is right, make sure you're buffer sizes are correct.
result will only be EProcessComplete if the amr buffer is one frame in size.
The out buffer needs to be 640, because this stupid codec decodes to 16khz.
I suppose there is a way to configure it to decode to 8khz, but good luck finding out how.
Whoops, 16khz is okay.
Just set the audio player's sampling rate, and pass it 640B buffers.
Hi,
On nokia7610,it works well,but on nokia6681,it doesn't work,why?
Not all phones have the amr-wb codec dll.
Some phones seem to only have a hardware solution. Which means you need to set up the audio player to use awb directly instead of PCM data.