<?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 - Using Sound with Symbian - Comments</title>
 <link>http://www.newlc.com/Using-Sound-with-Symbian.html</link>
 <description>Comments for &quot;Using Sound with Symbian&quot;</description>
 <language>en</language>
<item>
 <title>Using Sound with Symbian</title>
 <link>http://www.newlc.com/Using-Sound-with-Symbian.html#comment-1101</link>
 <description>&lt;div class=&quot;spip-content&quot;&gt;&lt;p class=&quot;spip&quot;&gt;hi author&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;i have just started working on symbian. I am writing program using CMDAAUDIOOUTPUTSTREAM utility. I receive a song ( in .au format) from remote machine as a RTP packet over UDP. Since there are no RTP APIs provided in series 60, i receive udp packet on my machine, remove the headers and stream the packet using CMDAAUDIOOUTPUTSTREAM utility.But i only listen noise but not the song. I also tried by converting packet in .au format into raw PCM16 using CMdaAudioConvertUtility bt am still not able to play the song. When i tried the second option my program leaves in OpenL()&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;I am in great trouble. Please help&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;I m including some portion of my code here ---&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;void CSocketsReader::GetFrame() iFramePtr.Set( iBuffer.MidTPtr(12)); isrcdesc = new(ELeave) TMdaDesClipLocation(iFramePtr); TMdaClipFormat* iCodecSrc = new(ELeave) TMdaAuClipFormat(); TMdaClipFormat* iCodecDest = new(ELeave) TMdaRawAudioClipFormat(); TRAPD(error, iAudioConvertUtility-&gt;OpenL(isrcdesc, idesdesc, iCodecSrc, iCodecDest)); if(error) CEikonEnv::InfoWinL (_L(&quot;Error&quot;),_L(&quot;&quot;));&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;void CSocketsReader::MaoscOpenComplete(TInt aError) if ( aError==KErrNone ) GetFrame();&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;else CEikonEnv::InfoWinL (_L(&quot;Open Failed&quot;),_L(&quot;&quot;));&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;void CSocketsReader::MoscoStateChangeEvent(CBase *aObject, TInt aPreviousState, TInt aCurrentState, TInt aErrorCode)&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;if (aCurrentState == CMdaAudioConvertUtility::EOpen) iAudioConvertUtility-&gt;ConvertL(); if (aCurrentState == CMdaAudioConvertUtility::ERecording) TRAPD(error3, iOutputStream-&gt;WriteL( *(idesdesc-&gt;iDes))); delete isrcdesc; return;&lt;/p&gt;&lt;/div&gt;</description>
 <pubDate>Tue, 03 Oct 2006 08:07:09 +0200</pubDate>
 <dc:creator>ruchi</dc:creator>
 <guid isPermaLink="false">comment 1101 at http://www.newlc.com</guid>
</item>
<item>
 <title>Using Sound with Symbian</title>
 <link>http://www.newlc.com/Using-Sound-with-Symbian.html</link>
 <description>&lt;div class=&quot;spip-content&quot;&gt;A beginner&#039;s guide to getting started with sound on Symbian, with special focus on CMdaAudioToneUtility.&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/Using-Sound-with-Symbian.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/Using-Sound-with-Symbian.html#comments</comments>
 <category domain="http://www.newlc.com/taxonomy/term/14">Multimedia</category>
 <category domain="http://www.newlc.com/taxonomy/term/141">Sound and Vibrator</category>
 <pubDate>Tue, 07 Oct 2003 00:00:00 +0200</pubDate>
 <dc:creator>gpoulton</dc:creator>
 <guid isPermaLink="false">175 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
