<?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 - Streaming audio input frame size implications - Comments</title>
 <link>http://www.newlc.com/topic-16025</link>
 <description>Comments for &quot;Streaming audio input frame size implications&quot;</description>
 <language>en</language>
<item>
 <title>Re: Streaming audio input frame size implications</title>
 <link>http://www.newlc.com/topic-16025#comment-43681</link>
 <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;The &quot;ReadL()&quot; method copies the data from H/W buffer (buffer used by DevSound and lower layers) to the user specified descriptor. The size of the buffer used by DevSound is platform and format dependent.  I suppose the size of this buffer can not be chosen by the application.&lt;br /&gt;
It would be better to use frames of size same as size of the DevSound buffer. &lt;/p&gt;

&lt;p&gt;If you are working on S60 V3, you can use &quot;CErrorConcealment&quot; custominterface to get data in frames rather than in buffers of multiple frames. However, I am not sure whether frame mode can be enabled for PCM record.&lt;br /&gt;
&lt;/p&gt;</description>
 <pubDate>Mon, 31 Dec 2007 06:20:43 +0100</pubDate>
 <dc:creator>raghav_an</dc:creator>
 <guid isPermaLink="false">comment 43681 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Streaming audio input frame size implications</title>
 <link>http://www.newlc.com/topic-16025#comment-43392</link>
 <description>&lt;p&gt;inguvasheshu wrote:&lt;br /&gt;
&lt;div class=&quot;bb-quote&quot;&gt;&lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;br /&gt;
you should maintain big buffers before operating on data. something like 5*4096 which is a multiple of 320 and 256. from which its easy to segment data and pack them out.&lt;br /&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;/p&gt;

&lt;p&gt;This will not work.  If I deal only with big buffers, then I will have terrible latency.  My application requires immediate analysis of the sound for feedback to the user.  It is a piano tuning application.  If the latency is more than 100 msec., then the user will complain that the device is reacting too slowly.&lt;/p&gt;

&lt;p&gt;Robert Scott&lt;br /&gt;
Real-Time Specialties&lt;br /&gt;
&lt;/p&gt;</description>
 <pubDate>Fri, 07 Dec 2007 20:57:43 +0100</pubDate>
 <dc:creator>tunelabguy</dc:creator>
 <guid isPermaLink="false">comment 43392 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Streaming audio input frame size implications</title>
 <link>http://www.newlc.com/topic-16025#comment-34599</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;thank you!&lt;br /&gt;&lt;/div&gt;</description>
 <pubDate>Tue, 17 Oct 2006 13:43:54 +0200</pubDate>
 <dc:creator>sergiosnok</dc:creator>
 <guid isPermaLink="false">comment 34599 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Streaming audio input frame size implications</title>
 <link>http://www.newlc.com/topic-16025#comment-34598</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;you should maintain big buffers before operating on data. something like 5*4096 which is a multiple of 320 and 256. from which its easy to segment data and pack them out. Every time you get some data from MaiscBufferCopied, you need to add it to this buffer and from another thread you can dispatch the data.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Sheshu Kumar Inguva.&lt;/div&gt;</description>
 <pubDate>Thu, 12 Oct 2006 07:26:12 +0200</pubDate>
 <dc:creator>inguvasheshu</dc:creator>
 <guid isPermaLink="false">comment 34598 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Streaming audio input frame size implications</title>
 <link>http://www.newlc.com/topic-16025#comment-34597</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Hello all, please I&amp;#039;m trying same think using Nokia N70 and it allways return 256 bytes (MaiscBufferCopied), someone has same behavior?&lt;br /&gt;And someone have test N70 phone and Nokia Audio Stream Example?&lt;/div&gt;</description>
 <pubDate>Wed, 11 Oct 2006 11:01:15 +0200</pubDate>
 <dc:creator>sergiosnok</dc:creator>
 <guid isPermaLink="false">comment 34597 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Streaming audio input frame size implications</title>
 <link>http://www.newlc.com/topic-16025#comment-34596</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;&lt;div class=&quot;quoteheader&quot;&gt;Quote from: mudhalvan&lt;/div&gt;&lt;div class=&quot;quote&quot;&gt;Â  Â  Â  Â  Please refer to some of the previous posts by &lt;b&gt;Andrew.hayes&lt;/b&gt;. Those are really good one. Those posts should help you a lot in understanding the frame size and their behaviour.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;I have seen those postings, and they refer to FP2 and FP3 phones and to other codecs besides PCM.&amp;nbsp; But I can tell you that the native frame size for streaming PCM input in a Nokia 6620 (Symbian 7.0s) is 2048 samples at 8000 samples per second.&lt;br /&gt;&lt;br /&gt;Robert Scott&lt;br /&gt;Ypsilanti, Michigan&lt;br /&gt;&lt;/div&gt;</description>
 <pubDate>Sat, 23 Sep 2006 18:47:50 +0200</pubDate>
 <dc:creator>tunelabguy</dc:creator>
 <guid isPermaLink="false">comment 34596 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Streaming audio input frame size implications</title>
 <link>http://www.newlc.com/topic-16025#comment-34595</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Hi,&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Please refer to some of the previous posts by &lt;b&gt;Andrew.hayes&lt;/b&gt;. Those are really good one. Those posts should help you a lot in understanding the frame size and their behaviour.&lt;/div&gt;</description>
 <pubDate>Thu, 21 Sep 2006 17:09:13 +0200</pubDate>
 <dc:creator>mudhalvan</dc:creator>
 <guid isPermaLink="false">comment 34595 at http://www.newlc.com</guid>
</item>
<item>
 <title>Streaming audio input frame size implications</title>
 <link>http://www.newlc.com/topic-16025</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-16025&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/topic-16025#comments</comments>
 <category domain="http://www.newlc.com/forums/audio">Audio</category>
 <pubDate>Fri, 15 Sep 2006 05:28:45 +0200</pubDate>
 <dc:creator>tunelabguy</dc:creator>
 <guid isPermaLink="false">15740 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
