<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.newlc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>NewLC - how to play amr file - Comments</title>
 <link>http://www.newlc.com/topic-5222</link>
 <description>Comments for &quot;how to play amr file&quot;</description>
 <language>en</language>
<item>
 <title>Re: how to play amr file</title>
 <link>http://www.newlc.com/topic-5222#comment-49195</link>
 <description>&lt;p&gt;Sorry, for dig old post.&lt;br /&gt;
But this maybe helpful for AudioRecorder developer like me.&lt;br /&gt;
(I&#039;m working with SDK 2nd FP1 (OS 7.0s), )&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-weight:bold&quot;&gt;Example:&lt;/span&gt; &quot;C:\Symbian\7.0s\Series60_v21_CW\Series60Ex\sound\&quot;&lt;/p&gt;

&lt;p&gt;-----------------------------------------------------------------------------&lt;br /&gt;
//from mmfcontrollerimplementationuids.hrh&lt;br /&gt;
#define KMmfUidControllerAudio		0x101F5022   //(have only one implemented)&lt;/p&gt;

&lt;p&gt;//from mmfformatimplementationuids.hrh&lt;br /&gt;
#define KMmfUidFormatWAVRead   0x101F55E1&lt;br /&gt;
#define KMmfUidFormatWAVWrite   0x101F55E2&lt;br /&gt;
#define KAdvancedUidFormatAMRRead	0x101FAF65&lt;br /&gt;
#define KAdvancedUidFormatAMRWrite	0x101FAF66&lt;/p&gt;

&lt;p&gt;//from mmf/common/mmffourcc.h&lt;br /&gt;
const TUint32 KMMFFourCCCodePCM16 = 0x36315020;&lt;br /&gt;
const TUint32 KMMFFourCCCodeAMR = 0x524d4120;&lt;br /&gt;
-----------------------------------------------------------------------------&lt;/p&gt;

&lt;p&gt;const TUid KMMFExControllerUID = {0x101F5022}; //from mmfcontrollerimplementationuids.hrh&lt;br /&gt;
const TUid KMMFExDesFormatUID = {0x101FAF66}; //from mmfformatimplementationuids.hrh&lt;br /&gt;
const TUint32 KMMFFourCCCodeAMR = 0x524d4120;  //from mmf/common/mmffourcc.h&lt;/p&gt;

&lt;p&gt;I guess that default of&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;OpenFileL(const TDesC&amp;amp; aFileName)&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
similar to,&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;OpenFileL(const TDesC&amp;amp; aFileName,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KMMFExControllerUID,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KMMFExControllerUID ,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (TUid){KMmfUidFormatWAVWrite},&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KMMFFourCCCodePCM16);&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;

&lt;p&gt;So my AMR Recorder will be&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;OpenFileL( _L(&amp;quot;c:\\hello.amr&amp;quot;),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KMMFExControllerUID,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KMMFExControllerUID ,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (TUid){KAdvancedUidFormatAMRWrite},&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KMMFFourCCCodeAMR );&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;

&lt;p&gt;From Sound example:&lt;br /&gt;
iMdaAudioRecorderUtility-&gt;CropL();  &lt;span style=&quot;font-weight:bold&quot;&gt;//cause AMR don&#039;t Record, so comment this line&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Emulator, it&#039;s work  but my 3230 isn&#039;t work. -*- &lt;a href=&quot;http://discussion.forum.nokia.com/forum/showthread.php?p=496552#post496552&quot; class=&quot;bb-url&quot;&gt;1&lt;/a&gt;&lt;/p&gt;</description>
 <pubDate>Wed, 05 Nov 2008 06:07:36 +0100</pubDate>
 <dc:creator>pakornsak</dc:creator>
 <guid isPermaLink="false">comment 49195 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: how to play amr file</title>
 <link>http://www.newlc.com/topic-5222#comment-14480</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;&amp;nbsp;Hi everybody,&lt;br /&gt;&lt;br /&gt;I have been trying to solve the problem &amp;quot;how to play amr file&amp;quot;.&lt;br /&gt;&lt;br /&gt;I used CMdaRecorderUtility class for this purpose. I did the following:&lt;br /&gt;&lt;br /&gt;//Constant declarations&lt;br /&gt;&lt;br /&gt;_LIT(KAmrFile,&amp;quot;\\system\\apps\\AudioPlayer\\sample.amr&amp;quot;);&lt;br /&gt;const TUid KMMFExControllerUID = {0x101F5022}; &lt;br /&gt;const TUid KMMFExDesFormatUID = {0x101FAF66}; &lt;br /&gt;const TUint32 KMMFFourCCCodeAMR = 0x524d4120; &lt;br /&gt;&lt;br /&gt;void OpenAmrFile()&lt;br /&gt;{&lt;br /&gt;if(iMdaAudioRecorderUtility-&amp;gt;State()==iMdaAudioRecorderUtility-&amp;gt;ENotReady)&lt;br /&gt;{&lt;br /&gt;Â  Â  iMdaAudioRecorderUtility-&amp;gt;OpenFileL(KAmrFile,KMMFExControllerUID,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;KMMFExControllerUID,KMMFExDesFormatUID,KMMFFourCCCodeAMR);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;//It does not get the EOpen state, so state is not opened here which should be opened.&lt;br /&gt;void CAudioPlayerEngine::MoscoStateChangeEvent(CBase* aObject, TInt aPreviousState, TInt aCurrentState, TInt aErrorCode)&lt;br /&gt;{&lt;br /&gt; //So I can not use any checking condition&lt;br /&gt;PlayL();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void PlayL()&lt;br /&gt;{&lt;br /&gt;Â  Â  // Play through the device speaker&lt;br /&gt;Â  Â  iMdaAudioRecorderUtility-&amp;gt;SetAudioDeviceMode(CMdaAudioRecorderUtility::ELocal);&lt;br /&gt;&lt;br /&gt;Â  Â  // Set maximum volume for playback&lt;br /&gt;Â  Â  iMdaAudioRecorderUtility-&amp;gt;SetVolume(iMdaAudioRecorderUtility-&amp;gt;MaxVolume());&lt;br /&gt;&lt;br /&gt;Â  Â  // Set the playback position to the start of the file&lt;br /&gt;Â  Â  iMdaAudioRecorderUtility-&amp;gt;SetPosition(TTimeIntervalMicroSeconds(0));&lt;br /&gt;Â  Â  //&lt;br /&gt;&lt;br /&gt;Â  Â  iMdaAudioRecorderUtility-&amp;gt;PlayL();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;//** I get error message &amp;quot;Feature not supported&amp;quot; for PlayL()&lt;br /&gt; iMdaAudioRecorderUtility-&amp;gt;PlayL();&lt;br /&gt;&lt;br /&gt;I would really appreciate, if anybody comments on this.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</description>
 <pubDate>Sat, 16 Jul 2005 11:18:01 +0200</pubDate>
 <dc:creator>shagor</dc:creator>
 <guid isPermaLink="false">comment 14480 at http://www.newlc.com</guid>
</item>
<item>
 <title>UIQ</title>
 <link>http://www.newlc.com/topic-5222#comment-14479</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;&lt;b&gt;2tensor&lt;/b&gt;&lt;br /&gt;So - any luck with UIQ? You solved the problem?[/b]&lt;/div&gt;</description>
 <pubDate>Sun, 01 May 2005 17:53:43 +0200</pubDate>
 <dc:creator>WoodyAllen</dc:creator>
 <guid isPermaLink="false">comment 14479 at http://www.newlc.com</guid>
</item>
<item>
 <title>AMR on UIQ</title>
 <link>http://www.newlc.com/topic-5222#comment-14478</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;&lt;div class=&quot;quoteheader&quot;&gt;Quote from: void*&lt;/div&gt;&lt;div class=&quot;quote&quot;&gt; &amp;nbsp;You can use the following API from CMdaAudioRecordutility:&lt;br /&gt;-----------&lt;br /&gt;void OpenFileL(const TDesC&amp;amp; aFileName, TUid aRecordControllerUid, TUid aPlaybackControllerUid=KNullUid, TUid aFormatUid=KNullUid, TFourCC aCodec=NULL);&lt;br /&gt;----------&lt;br /&gt;-void*&lt;/div&gt;&lt;br /&gt;Could you please explain to me how to play amr on UIQ?&lt;br /&gt;I have in CMdaAudioRecordUtility void OpenL(TMdaClipLocation* aLocation, TMdaClipFormat* aFormat, TMdaPackage* aArg1, TMdaPackage* aArg2) = 0;&lt;br /&gt;&amp;nbsp;I try to do the following:&lt;br /&gt;in .h define the Amr classes, derived form TMdaClipFormat/TMdaPackage for codec, format and audio settings&lt;br /&gt;&lt;div class=&quot;codeheader&quot;&gt;Code:&lt;/div&gt;&lt;div class=&quot;code&quot;&gt;//uids&lt;br /&gt;const TUid KUidMdaClipFormatAmr = &amp;#123;0x101FAF66&amp;#125;;&lt;br /&gt;const TUid KUidMdaAmrCodec = &amp;#123;0x101F5022&amp;#125;;&lt;br /&gt;const TUid KUidMdaAmrSettings = &amp;#123;0x524d4120&amp;#125;;&lt;br /&gt;&lt;br /&gt;//format&lt;br /&gt;class TMdaAmrClipFormat &amp;#58; public TMdaClipFormat&lt;br /&gt;&amp;#123;&lt;br /&gt; &amp;nbsp; &amp;nbsp;public&amp;#58;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;inline TMdaAmrClipFormat&amp;#40;&amp;#41;;&lt;br /&gt;&amp;#125;;&lt;br /&gt;&lt;br /&gt;//codec&lt;br /&gt;class TMdaAmrCodec &amp;#58; public TMdaPackage&lt;br /&gt;&amp;#123;&lt;br /&gt; &amp;nbsp; &amp;nbsp;public&amp;#58;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;inline TMdaAmrCodec&amp;#40;&amp;#41;; // Unknown type&lt;br /&gt; &amp;nbsp; &amp;nbsp;protected&amp;#58;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;inline TMdaAmrCodec&amp;#40;TUid aUid, TInt aDerivedSize&amp;#41;;&lt;br /&gt;&amp;#125;;&lt;br /&gt;&lt;br /&gt;//audio settings&lt;br /&gt;class TMdaAmrSettings &amp;#58; public TMdaPackage&lt;br /&gt;&amp;#123;&lt;br /&gt; &amp;nbsp; &amp;nbsp;protected&amp;#58;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;inline TMdaAmrSettings&amp;#40;TUid aUid, TInt aDerivedSize&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp;public&amp;#58;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;inline TMdaAmrSettings&amp;#40;&amp;#41;;&lt;br /&gt;&amp;#125;;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;inline TMdaAmrClipFormat&amp;#58;&amp;#58;TMdaAmrClipFormat&amp;#40;&amp;#41; &amp;#58;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TMdaClipFormat &amp;#40;KUidMdaClipFormatAmr, sizeof&amp;#40;TMdaAmrClipFormat&amp;#41;&amp;#41; &amp;#123;&amp;#125;&lt;br /&gt;&lt;br /&gt;inline TMdaAmrCodec&amp;#58;&amp;#58;TMdaAmrCodec&amp;#40;&amp;#41; &amp;#58;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TMdaPackage&amp;#40;KUidMdaAmrCodec, KNullUid, sizeof&amp;#40;TMdaAmrCodec&amp;#41;&amp;#41; &amp;nbsp;&amp;#123;&amp;#125;&lt;br /&gt;&lt;br /&gt;inline TMdaAmrCodec&amp;#58;&amp;#58;TMdaAmrCodec&amp;#40;TUid aUid, TInt aDerivedSize&amp;#41; &amp;#58;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TMdaPackage&amp;#40;KUidMdaAmrCodec, aUid, aDerivedSize&amp;#41; &amp;#123;&amp;#125;&lt;br /&gt;&lt;br /&gt;inline TMdaAmrSettings&amp;#58;&amp;#58;TMdaAmrSettings&amp;#40;TUid aUid, TInt aDerivedSize&amp;#41; &amp;#58;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TMdaPackage&amp;#40;KUidMdaAmrSettings, aUid, aDerivedSize&amp;#41; &amp;#123;&amp;#125;&lt;br /&gt;&lt;br /&gt;inline TMdaAmrSettings&amp;#58;&amp;#58;TMdaAmrSettings&amp;#40;&amp;#41; &amp;#58; &amp;nbsp; TMdaPackage &amp;nbsp;&amp;#40;KUidMdaAmrSettings, KUidMdaAmrSettings, sizeof&amp;#40;TMdaAmrSettings&amp;#41;&amp;#41; &amp;#123;&amp;#125;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Then in .cpp do the following&lt;br /&gt;&lt;div class=&quot;codeheader&quot;&gt;Code:&lt;/div&gt;&lt;div class=&quot;code&quot;&gt;TMdaAmrClipFormat iFormat;&lt;br /&gt;TMdaAmrCodec iCodec;&lt;br /&gt;TMdaFileClipLocation iLocation&amp;#40; aFileName &amp;#41;;&lt;br /&gt;TMdaAudioDataSettings iSettings;&lt;br /&gt;iSettings.iSampleRate = TMdaAudioDataSettings&amp;#58;&amp;#58;ESampleRate8000Hz;&lt;br /&gt;iSettings.iChannels = TMdaAudioDataSettings&amp;#58;&amp;#58;EChannelsMono;&lt;br /&gt;//even if I do TMdaAmrSettings iSettings, it still fails&lt;br /&gt; &amp;nbsp; &amp;nbsp;iMdaAudioRecorderUtility-&amp;gt;OpenL&amp;#40;&amp;amp;iLocation, &amp;amp;iFormat, &amp;amp;iCodec, &amp;amp;iSettings &amp;#41;;&lt;br /&gt;&lt;/div&gt;OpenL failes.&lt;br /&gt;What is the way-out? How can I play AMR on UIQ 2.1?&lt;/div&gt;</description>
 <pubDate>Sun, 27 Mar 2005 14:50:52 +0200</pubDate>
 <dc:creator>tensor</dc:creator>
 <guid isPermaLink="false">comment 14478 at http://www.newlc.com</guid>
</item>
<item>
 <title>how to play amr file</title>
 <link>http://www.newlc.com/topic-5222#comment-14477</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;what is the problem that u &amp;nbsp;r facing can u specify it.&lt;/div&gt;</description>
 <pubDate>Fri, 25 Mar 2005 06:43:45 +0100</pubDate>
 <dc:creator>Girish Sharma</dc:creator>
 <guid isPermaLink="false">comment 14477 at http://www.newlc.com</guid>
</item>
<item>
 <title>exception</title>
 <link>http://www.newlc.com/topic-5222#comment-14476</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;well i succeeded in playing amr in nokia 6600 but &amp;nbsp;the same does not work in 6670 pls help.......&lt;/div&gt;</description>
 <pubDate>Thu, 24 Mar 2005 10:27:14 +0100</pubDate>
 <dc:creator>jai</dc:creator>
 <guid isPermaLink="false">comment 14476 at http://www.newlc.com</guid>
</item>
<item>
 <title>how to play amr file</title>
 <link>http://www.newlc.com/topic-5222#comment-14475</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;hello,&lt;br /&gt;it for change the menu?&lt;br /&gt;&lt;br /&gt;but in sound example&lt;br /&gt;the menu have been dinamic change in&lt;br /&gt;&lt;div class=&quot;quoteheader&quot;&gt;Quote&lt;/div&gt;&lt;div class=&quot;quote&quot;&gt;void CRecorderAdapter::UpdateMenuL(CEikMenuPane* aMenuPane)&lt;br /&gt;&amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; aMenuPane-&amp;gt;SetItemDimmed(ESoundCmdPlay, &amp;nbsp; ETrue);&lt;br /&gt;&amp;nbsp; &amp;nbsp; aMenuPane-&amp;gt;SetItemDimmed(ESoundCmdRecord, ETrue);&lt;br /&gt;...&lt;br /&gt;&amp;nbsp; &amp;nbsp; switch (iMdaAudioRecorderUtility-&amp;gt;State())&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; case CMdaAudioRecorderUtility::ENotReady:&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; aMenuPane-&amp;gt;SetItemDimmed(ESoundCmdChange, EFalse);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;br /&gt;&amp;nbsp; &amp;nbsp; case CMdaAudioRecorderUtility::EOpen:&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; aMenuPane-&amp;gt;SetItemDimmed(ESoundCmdPlay, EFalse);...&lt;br /&gt;&amp;nbsp; &amp;nbsp;... &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;i try to change OpenFileL method &lt;br /&gt;and other environment is the same old sound example&lt;br /&gt;&lt;br /&gt;it&#039;s compile complete but &amp;nbsp;when i run and select the record it do nothing&lt;br /&gt;&lt;br /&gt;how can command to record from app ui&lt;/div&gt;</description>
 <pubDate>Thu, 10 Feb 2005 06:14:25 +0100</pubDate>
 <dc:creator>sang_sorn-forum</dc:creator>
 <guid isPermaLink="false">comment 14475 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: ddd</title>
 <link>http://www.newlc.com/topic-5222#comment-14474</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;&lt;div class=&quot;quoteheader&quot;&gt;Quote from: sang_sorn&lt;/div&gt;&lt;div class=&quot;quote&quot;&gt;in sound example i replace openfile line form your comment&lt;br /&gt;&lt;br /&gt;//iMdaAudioRecorderUtility-&amp;gt;OpenFileL(KRecorderFile);&lt;br /&gt;&lt;br /&gt;iMdaAudioRecorderUtility-&amp;gt;OpenFileL(KRecorderFile,KMMFExControllerUID,KMMFExControllerUID,KMMFExDesFormatUID,KMMFFourCCCodeAMR);//&lt;br /&gt;&lt;br /&gt;but i don&#039;t understand &amp;nbsp; MoscoStateChangeEvent &amp;nbsp; and i can&#039;t find any code for example &lt;img src=&quot;/sites/all/modules/smf_filter/smf_smileys/huh.gif&quot; alt=&quot;Huh&quot; border=&quot;0&quot; /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;see MoscoStateChangeEvent &amp;nbsp; is a pure virtual &amp;nbsp;function . So u shul d implement it in your source code . If u want to some event like dynamically changing the &amp;nbsp;menu at some event of the MdaAudioRecorderUtility. then u shuld give some body to the function but if u dont want it to do any thing u can leave it empty. like this&lt;br /&gt;&lt;div class=&quot;codeheader&quot;&gt;Code:&lt;/div&gt;&lt;div class=&quot;code&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;void CAudio1Engine&amp;#58;&amp;#58;MoscoStateChangeEvent&amp;#40;CBase* aObject, TInt /*aPreviousState*/, TInt aCurrentState, TInt aErrorCode&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;&amp;#123;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#125; &lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</description>
 <pubDate>Thu, 10 Feb 2005 05:58:41 +0100</pubDate>
 <dc:creator>Girish Sharma</dc:creator>
 <guid isPermaLink="false">comment 14474 at http://www.newlc.com</guid>
</item>
<item>
 <title>ddd</title>
 <link>http://www.newlc.com/topic-5222#comment-14473</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;in sound example i replace openfile line form your comment&lt;br /&gt;&lt;br /&gt;//iMdaAudioRecorderUtility-&amp;gt;OpenFileL(KRecorderFile);&lt;br /&gt;&lt;br /&gt;iMdaAudioRecorderUtility-&amp;gt;OpenFileL(KRecorderFile,KMMFExControllerUID,KMMFExControllerUID,KMMFExDesFormatUID,KMMFFourCCCodeAMR);//&lt;br /&gt;&lt;br /&gt;but i don&#039;t understand &amp;nbsp; MoscoStateChangeEvent &amp;nbsp; and i can&#039;t find any code for example &lt;img src=&quot;/sites/all/modules/smf_filter/smf_smileys/huh.gif&quot; alt=&quot;Huh&quot; border=&quot;0&quot; /&gt;&lt;/div&gt;</description>
 <pubDate>Wed, 09 Feb 2005 23:24:14 +0100</pubDate>
 <dc:creator>sang_sorn-forum</dc:creator>
 <guid isPermaLink="false">comment 14473 at http://www.newlc.com</guid>
</item>
<item>
 <title>may be this class can record ?</title>
 <link>http://www.newlc.com/topic-5222#comment-14472</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;if i want to record a audio to amr format&lt;br /&gt;How can i manage this method&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MoscoStateChangeEvent&lt;br /&gt;&lt;br /&gt;please&lt;/div&gt;</description>
 <pubDate>Wed, 09 Feb 2005 23:21:17 +0100</pubDate>
 <dc:creator>sang_sorn-forum</dc:creator>
 <guid isPermaLink="false">comment 14472 at http://www.newlc.com</guid>
</item>
<item>
 <title>Thanks</title>
 <link>http://www.newlc.com/topic-5222#comment-14471</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;thanks 1000 times void* &lt;br /&gt; thanks for your patience . Mission accomplished&lt;br /&gt;bye&lt;/div&gt;</description>
 <pubDate>Tue, 08 Feb 2005 13:16:58 +0100</pubDate>
 <dc:creator>Girish Sharma</dc:creator>
 <guid isPermaLink="false">comment 14471 at http://www.newlc.com</guid>
</item>
<item>
 <title>how to play amr file</title>
 <link>http://www.newlc.com/topic-5222#comment-14470</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Hi,&lt;br /&gt; &amp;nbsp;You can use the following API from CMdaAudioRecordutility:&lt;br /&gt;-----------&lt;br /&gt;void OpenFileL(const TDesC&amp;amp; aFileName, TUid aRecordControllerUid, TUid aPlaybackControllerUid=KNullUid, TUid aFormatUid=KNullUid, TFourCC aCodec=NULL);&lt;br /&gt;----------&lt;br /&gt;Where Filename is KAMRFileName ( give your file name )&lt;br /&gt;&lt;br /&gt;aRecordControllerUid is KMMFExControllerUID &amp;nbsp;( ID in previous post )&lt;br /&gt;&lt;br /&gt;aPlaybackControllerUid is KMMFExControllerUID &amp;nbsp;( ID in previous post )&lt;br /&gt;// Record and playback controller UID are same since Audio controller in one for both Record and playback. &lt;br /&gt;&lt;br /&gt;aFormatUid is KMMFExDesFormatUID &amp;nbsp;( ID in previous post )&lt;br /&gt;&lt;br /&gt;TFourCC aCodec &amp;nbsp;is KMMFFourCCCodeAMR&lt;br /&gt;&lt;br /&gt;Just use KMMFFourCCCodeAMR. It is already defined in MMF ( MmfFourCC.h) &lt;br /&gt;If this is not defined then give &lt;br /&gt;-------------&lt;br /&gt;const TUint32 KMMFFourCCCodeAMR = 0x524d4120;&lt;br /&gt;-----------&lt;br /&gt;&lt;br /&gt;Once OpenFileL completes it goes to call back function called MoscoStateChangeEvent. Its a pure virtual function. I guess you might have already implemented this. Handle the states there ( refer sound example).&lt;br /&gt;Play it when Current state is EOpen using Play() API.&lt;br /&gt;&lt;br /&gt;Hope it helps.&lt;br /&gt;&lt;br /&gt;-void*&lt;/div&gt;</description>
 <pubDate>Tue, 08 Feb 2005 10:07:26 +0100</pubDate>
 <dc:creator>void_</dc:creator>
 <guid isPermaLink="false">comment 14470 at http://www.newlc.com</guid>
</item>
<item>
 <title>hi void</title>
 <link>http://www.newlc.com/topic-5222#comment-14469</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;hi &lt;br /&gt;I am trying to use the CMdaAudioRecorderUtility class but the OpenL function seems to be confusing .&lt;br /&gt;Can u please send some code explaining the parameters used I am stuck with TMdaClipLocation.&lt;br /&gt;Thanks&lt;br /&gt;Girish sharma&lt;/div&gt;</description>
 <pubDate>Tue, 08 Feb 2005 08:26:59 +0100</pubDate>
 <dc:creator>Girish Sharma</dc:creator>
 <guid isPermaLink="false">comment 14469 at http://www.newlc.com</guid>
</item>
<item>
 <title>how to play amr file</title>
 <link>http://www.newlc.com/topic-5222#comment-14468</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Hi,&lt;br /&gt; AMR files can be very well played. CMdaAudioPlayer utility does not recognize the AMR mime type ( don&#039;t know the reason ) but you can very well use CMdaAudioRecoder utility apis for playing purpose. In this case you have to use OpenL instead of OpenfileL. In OpenL() you can specify the UIDs of controller and AMR format.&lt;br /&gt;USe as following:&lt;br /&gt;const TUid KMMFExControllerUID = {0x101F5022};&lt;br /&gt;const TUid KMMFExDesFormatUID = {0x101FAF66};&lt;br /&gt;&lt;br /&gt;Use the playL() api to play the AMR file when Open has completed sucessfully.&lt;br /&gt;&lt;br /&gt;I am expecting you are using Symbian 7.0 and above .&lt;br /&gt;&lt;br /&gt;Hope this will help. &lt;br /&gt;&lt;br /&gt;-void*&lt;/div&gt;</description>
 <pubDate>Mon, 07 Feb 2005 12:58:28 +0100</pubDate>
 <dc:creator>void_</dc:creator>
 <guid isPermaLink="false">comment 14468 at http://www.newlc.com</guid>
</item>
<item>
 <title>SOS</title>
 <link>http://www.newlc.com/topic-5222#comment-14467</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Hi all &lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I want to know if .amr files can be played like .wav,.midi files . I tried to do it but couldn,t do it with CMdaPlayerUtilty. I guess it doesnot supports the file format. Am I right.&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; So how can one play .amr files &amp;nbsp;the whole mobile world is talking of . As they are quite smaller in size so I think it makes more snse to use them.&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Can anybody help me out. I am stuck with it &amp;nbsp; &lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Anticipating response.&lt;/div&gt;</description>
 <pubDate>Mon, 07 Feb 2005 09:05:13 +0100</pubDate>
 <dc:creator>Girish Sharma</dc:creator>
 <guid isPermaLink="false">comment 14467 at http://www.newlc.com</guid>
</item>
<item>
 <title>how to play amr file</title>
 <link>http://www.newlc.com/topic-5222</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/topic-5222&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/topic-5222#comments</comments>
 <category domain="http://www.newlc.com/forums/audio">Audio</category>
 <pubDate>Wed, 02 Feb 2005 08:35:45 +0100</pubDate>
 <dc:creator>Girish Sharma</dc:creator>
 <guid isPermaLink="false">5987 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
