<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Nohowe Ltd - System Solutions - Andre Howe</title>
	<atom:link href="http://andrehowe.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://andrehowe.wordpress.com</link>
	<description>Thoughts on system solutions and computer programming.</description>
	<lastBuildDate>Wed, 30 Nov 2011 14:10:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='andrehowe.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Nohowe Ltd - System Solutions - Andre Howe</title>
		<link>http://andrehowe.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://andrehowe.wordpress.com/osd.xml" title="Nohowe Ltd - System Solutions - Andre Howe" />
	<atom:link rel='hub' href='http://andrehowe.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Howto ignore content of a directory in svn</title>
		<link>http://andrehowe.wordpress.com/2011/11/30/howto-ignore-content-of-a-directory-in-svn/</link>
		<comments>http://andrehowe.wordpress.com/2011/11/30/howto-ignore-content-of-a-directory-in-svn/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 14:10:00 +0000</pubDate>
		<dc:creator>andrehowe</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[SVN]]></category>

		<guid isPermaLink="false">http://andrehowe.wordpress.com/?p=124</guid>
		<description><![CDATA[If you&#8217;d like svn to ignore the content of a sub-directory /svn-local-copy/sub-directory-to-ignore, then you could issue the following two commands:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrehowe.wordpress.com&amp;blog=10966022&amp;post=124&amp;subd=andrehowe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;d like svn to ignore the content of a sub-directory <strong>/svn-local-copy/sub-directory-to-ignore</strong>, then you could issue the following two commands:</p>
<p><pre class="brush: bash;">
cd /svn-local-copy/sub-directory-to-ignore
svn propset svn:ignore * .
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrehowe.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrehowe.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrehowe.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrehowe.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/andrehowe.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/andrehowe.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/andrehowe.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/andrehowe.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrehowe.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrehowe.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrehowe.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrehowe.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrehowe.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrehowe.wordpress.com/124/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrehowe.wordpress.com&amp;blog=10966022&amp;post=124&amp;subd=andrehowe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://andrehowe.wordpress.com/2011/11/30/howto-ignore-content-of-a-directory-in-svn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b6bab7756773d183b861eb581d4b52ab?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">andrehowe</media:title>
		</media:content>
	</item>
		<item>
		<title>Howto remove all the .svn directories in the local working copy from the command line</title>
		<link>http://andrehowe.wordpress.com/2011/11/22/howto-remove-all-the-svn-directories-in-the-local-working-copy-from-the-command-line/</link>
		<comments>http://andrehowe.wordpress.com/2011/11/22/howto-remove-all-the-svn-directories-in-the-local-working-copy-from-the-command-line/#comments</comments>
		<pubDate>Tue, 22 Nov 2011 17:00:07 +0000</pubDate>
		<dc:creator>andrehowe</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[SVN]]></category>

		<guid isPermaLink="false">http://andrehowe.wordpress.com/?p=120</guid>
		<description><![CDATA[If you&#8217;d like to remove all the .svn directories in your local SVN working copy from the command line and for example your local working copy is in the directory /svn-co-work-copy, then you could issue the following two commands:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrehowe.wordpress.com&amp;blog=10966022&amp;post=120&amp;subd=andrehowe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;d like to remove all the .svn directories in your local SVN working copy from the command line and for example your local working copy is in the directory <strong>/svn-co-work-copy</strong>, then you could issue the following two commands:</p>
<p><pre class="brush: bash;">
cd /svn-co-work-copy
rm -rf `find -type d -name .svn`
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrehowe.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrehowe.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrehowe.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrehowe.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/andrehowe.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/andrehowe.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/andrehowe.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/andrehowe.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrehowe.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrehowe.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrehowe.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrehowe.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrehowe.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrehowe.wordpress.com/120/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrehowe.wordpress.com&amp;blog=10966022&amp;post=120&amp;subd=andrehowe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://andrehowe.wordpress.com/2011/11/22/howto-remove-all-the-svn-directories-in-the-local-working-copy-from-the-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b6bab7756773d183b861eb581d4b52ab?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">andrehowe</media:title>
		</media:content>
	</item>
		<item>
		<title>Howto relocate the SVN repository in the local working copy from the command line</title>
		<link>http://andrehowe.wordpress.com/2011/11/22/howto-relocate-the-svn-repository-in-the-local-working-copy-from-the-command-line/</link>
		<comments>http://andrehowe.wordpress.com/2011/11/22/howto-relocate-the-svn-repository-in-the-local-working-copy-from-the-command-line/#comments</comments>
		<pubDate>Tue, 22 Nov 2011 16:50:31 +0000</pubDate>
		<dc:creator>andrehowe</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[SVN]]></category>

		<guid isPermaLink="false">http://andrehowe.wordpress.com/?p=114</guid>
		<description><![CDATA[If you&#8217;d like to move your repository in your local SVN working copy from the command line from for example https://svn.oldhost.com to https://svn.newhost.com and your local working copy is in the directory /svn-co-work-copy, then you could issue the following two &#8230; <a href="http://andrehowe.wordpress.com/2011/11/22/howto-relocate-the-svn-repository-in-the-local-working-copy-from-the-command-line/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrehowe.wordpress.com&amp;blog=10966022&amp;post=114&amp;subd=andrehowe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;d like to move your repository in your local SVN working copy from the command line from for example <strong>https://svn.oldhost.com</strong> to <strong>https://svn.newhost.com</strong> and your local working copy is in the directory <strong>/svn-co-work-copy</strong>, then you could issue the following two commands:</p>
<p><pre class="brush: bash;">
cd /svn-co-work-copy
find -name entries |xargs perl -pi -e 's/https\:\/\/svn\.oldhost\.com/https\:\/\/svn\.newhost\.com/g'
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrehowe.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrehowe.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrehowe.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrehowe.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/andrehowe.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/andrehowe.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/andrehowe.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/andrehowe.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrehowe.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrehowe.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrehowe.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrehowe.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrehowe.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrehowe.wordpress.com/114/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrehowe.wordpress.com&amp;blog=10966022&amp;post=114&amp;subd=andrehowe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://andrehowe.wordpress.com/2011/11/22/howto-relocate-the-svn-repository-in-the-local-working-copy-from-the-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b6bab7756773d183b861eb581d4b52ab?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">andrehowe</media:title>
		</media:content>
	</item>
		<item>
		<title>Intel 945 Express chipset audio programming on linux &#8211; useful links</title>
		<link>http://andrehowe.wordpress.com/2011/08/25/intel-945-express-chipset-audio-programming-on-linux-useful-links/</link>
		<comments>http://andrehowe.wordpress.com/2011/08/25/intel-945-express-chipset-audio-programming-on-linux-useful-links/#comments</comments>
		<pubDate>Thu, 25 Aug 2011 21:03:26 +0000</pubDate>
		<dc:creator>andrehowe</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Intel]]></category>
		<category><![CDATA[Sound]]></category>

		<guid isPermaLink="false">http://andrehowe.wordpress.com/?p=48</guid>
		<description><![CDATA[Mobile Intel 945 Express Chipset Documentation: 945 Express Chipset HDA (high definition audio specification by intel) Documentation: Intel® High Definition Audio Specification Linux driver module name: snd_hda_codec Source Code: hda hda/hda_codec.c Intel I/O Controller Hub 7 (ICH7) Documentation: Intel I/O Controller &#8230; <a href="http://andrehowe.wordpress.com/2011/08/25/intel-945-express-chipset-audio-programming-on-linux-useful-links/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrehowe.wordpress.com&amp;blog=10966022&amp;post=48&amp;subd=andrehowe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Mobile Intel 945 Express Chipset</strong></p>
<ul>
<li>Documentation: <a title="http://www.intel.com/Assets/PDF/datasheet/309219.pdf" href="http://www.intel.com/Assets/PDF/datasheet/309219.pdf" target="_blank">945 Express Chipset</a></li>
</ul>
<p><strong>HDA</strong> (high definition audio specification by intel)</p>
<ul>
<li>Documentation: <a title="http://www.intel.com/standards/hdaudio/" href="http://www.intel.com/standards/hdaudio/" target="_blank">Intel® High Definition Audio Specification</a></li>
<li>Linux driver module name: <strong>snd_hda_codec</strong></li>
<li>Source Code: <a title="http://lxr.linux.no/#linux+v2.6.31/sound/pci/hda/" href="http://lxr.linux.no/#linux+v2.6.31/sound/pci/hda/" target="_blank">hda</a> <a title="http://lxr.linux.no/#linux+v2.6.31/sound/pci/hda/hda_codec.c" href="http://lxr.linux.no/#linux+v2.6.31/sound/pci/hda/hda_codec.c" target="_blank">hda/hda_codec.c</a></li>
</ul>
<p><strong>Intel</strong> I/O Controller Hub 7 (ICH7)</p>
<ul>
<li>Documentation: <a title="http://www.intel.com/Assets/PDF/datasheet/307013.pdf" href="http://www.intel.com/Assets/PDF/datasheet/307013.pdf" target="_blank">Intel I/O Controller Hub 7 (ICH7) Family Datasheet</a></li>
<li>Linux driver module name: <strong>snd_hda_intel</strong></li>
<li>Source Code: <a title="http://lxr.linux.no/#linux+v2.6.31/sound/pci/hda/" href="http://lxr.linux.no/#linux+v2.6.31/sound/pci/hda/" target="_blank">hda</a> <a title="http://lxr.linux.no/#linux+v2.6.31/sound/pci/hda/hda_intel.c" href="http://lxr.linux.no/#linux+v2.6.31/sound/pci/hda/hda_intel.c" target="_blank">hda/hda_intel.c</a></li>
</ul>
<p><strong>Realtek</strong> ALC888T codec</p>
<ul>
<li>Documentation: <a title="http://realtek.info/pdf/ALC888T_1-0.pdf" href="http://realtek.info/pdf/ALC888T_1-0.pdf" target="_blank">ALC888T_1-0.pdf</a></li>
<li>Linux driver module name: snd_hda_codec_realtek</li>
<li>Source Code: <a title="http://lxr.linux.no/#linux+v2.6.31/sound/pci/hda/" href="http://lxr.linux.no/#linux+v2.6.31/sound/pci/hda/" target="_blank">hda</a> <a title="http://lxr.linux.no/#linux+v2.6.31/sound/pci/hda/patch_realtek.c" href="http://lxr.linux.no/#linux+v2.6.31/sound/pci/hda/patch_realtek.c" target="_blank">hda/patch_realtek.c</a></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrehowe.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrehowe.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrehowe.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrehowe.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/andrehowe.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/andrehowe.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/andrehowe.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/andrehowe.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrehowe.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrehowe.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrehowe.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrehowe.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrehowe.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrehowe.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrehowe.wordpress.com&amp;blog=10966022&amp;post=48&amp;subd=andrehowe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://andrehowe.wordpress.com/2011/08/25/intel-945-express-chipset-audio-programming-on-linux-useful-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b6bab7756773d183b861eb581d4b52ab?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">andrehowe</media:title>
		</media:content>
	</item>
		<item>
		<title>Linux &#8211; ALC888 &#8211; SIP/VoIP &#8211; reduce white noise in the ALSA sound library with libspeex</title>
		<link>http://andrehowe.wordpress.com/2011/02/25/linux-alc888-voip-reduce-white-noise-in-the-alsa-sound-libray/</link>
		<comments>http://andrehowe.wordpress.com/2011/02/25/linux-alc888-voip-reduce-white-noise-in-the-alsa-sound-libray/#comments</comments>
		<pubDate>Fri, 25 Feb 2011 20:32:40 +0000</pubDate>
		<dc:creator>andrehowe</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Alsa]]></category>
		<category><![CDATA[Sound]]></category>
		<category><![CDATA[Speex]]></category>
		<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://andrehowe.wordpress.com/?p=14</guid>
		<description><![CDATA[With the following patch you could reduce the white noise in the alsa sound library using libspeex: Below is just a reminder of the call stack for one PCM read request:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrehowe.wordpress.com&amp;blog=10966022&amp;post=14&amp;subd=andrehowe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>With the following patch you could reduce the white noise in the alsa sound library using libspeex:<br />
<pre class="brush: bash;">
diff -r alsa-lib-1.0.21a/configure alsa-lib-1.0.21a.working/configure
9731c9731
&lt; LIBS=&quot;-ldl  $LIBS&quot;
---
&gt; LIBS=&quot;-lspeexdsp -ldl  $LIBS&quot;
20938c20938
&lt;     ALSA_DEPLIBS=&quot;$ALSA_DEPLIBS -ldl&quot;
---
&gt;     ALSA_DEPLIBS=&quot;$ALSA_DEPLIBS -lspeexdsp -ldl&quot;
diff -r alsa-lib-1.0.21a/src/pcm/pcm.c alsa-lib-1.0.21a.working/src/pcm/pcm.c
641a642,644
&gt; #include &lt;speex/speex_preprocess.h&gt;
&gt; SpeexPreprocessState *speex_state = NULL;
&gt;
693a697,700
&gt; 	if( speex_state != NULL ) {
&gt; 		speex_preprocess_state_destroy( speex_state );
&gt; 		speex_state = NULL;
&gt; 	}
1300a1308
&gt; 	snd_pcm_sframes_t sframest;
1311c1319,1336
&lt; 	return _snd_pcm_readi(pcm, buffer, size);
---
&gt; 	sframest = _snd_pcm_readi(pcm, buffer, size);
&gt;
&gt; 	if( speex_state == NULL ){
&gt; 		speex_state = speex_preprocess_state_init( (int) size, 8000 );
&gt; 		if( speex_state != NULL ){
&gt; 			int denoise = 1;
&gt; 			speex_preprocess_ctl( speex_state, SPEEX_PREPROCESS_SET_DENOISE, &amp;denoise );
&gt; 			int noise_suppress = 2555;
&gt; 			speex_preprocess_ctl( speex_state, SPEEX_PREPROCESS_SET_NOISE_SUPPRESS, &amp;noise_suppress);
&gt; 			int agc_enabled = 0;
&gt; 			speex_preprocess_ctl( speex_state, SPEEX_PREPROCESS_SET_AGC, &amp;agc_enabled);
&gt; 		}
&gt; 	}
&gt; 	if( speex_state != NULL ){
&gt; 		speex_preprocess_run( speex_state, (short*)buffer );
&gt; 	}
&gt;
&gt; 	return sframest;
</pre></p>
<p>Below is just a reminder of the call stack for one PCM read request:<br />
<pre class="brush: bash;">
./linphone-3.1.2/mediastreamer2/src# 
vim alsa.c

...
result = alsa_read( fd, buf, count );
...
int alsa_read( snd_pcm_t* handle, buf, count){
	result = snd_pcm_readi(fd, buf, count);
}

/lib/modules/2.6.29/build/audio/realtek-linux-audiopack-5.13/alsa-lib-1.0.21a# 
Library: /lib/modules/2.6.29/build/audio/realtek-linux-audiopack-5.13/alsa-lib-1.0.21a/src/pcm/libpcm.a
vim ./src/pcm/pcm_hw.c


snd_pcm_frames_t snd_pcm_readi( fd, buf, count){

	struct sndrv_xferi xferi;
	xferi.buf = buf,
	xferi.frames = count;
	xferi.result = 0;
	err = ioctl( fd,  SNDRV_PCM_IOCTL_READI_FRAMES, &amp;xferi );
	if( err &lt; 0 )
		return err;
	return xferi.result;
}

/lib/modules/2.6.29/build/audio/realtek-linux-audiopack-5.13/alsa-driver-1.0.21# 

Library: /lib/modules/2.6.29/kernel/sound/acore/snd-pcm.ko
vim ./alsa-kernel/core/pcm_native.c


2643static int snd_pcm_capture_ioctl1(struct file *file,
2644                                  struct snd_pcm_substream *substream,
2645                                  unsigned int cmd, void __user *arg)

case SNDRV_PCM_IOCTL_READI_FRAMES:
{
	result = snd_pcm_lib_read(substream,buf,count)
}

case SNDRV_PCM_IOCTL_READN_FRAMES:
{
	result = snd_pcm_lib_readv(substream,buf,frames)
}

ssize_t snd_pcm_read( fd, buf, count, offset){
	result = snd_pcm_lib_read(substream,buf,count)
}

vim ./alsa-kernel/core/pcm_lib.c

Library: /lib/modules/2.6.29/kernel/sound/acore/snd-pcm.ko

snd_pcm_sframes_t   snd_pcm_lib_read( substream, buf, count ){
	snd_pcm_lib_read1( substream, buf, count, nonblock, snd_pcm_lib_reader_transfer);
}

snd_pcm_sframes_t   snd_pcm_lib_read1( substream, buf, count, nonblock, transfer){
	transfer( substream, appl_ofs, buf, offset, frames );
  	??? ---&gt; ???
}

vim ./alsa-kernel/pci/hda/patch_realtek.c		
Library: /lib/modules/2.6.29/kernel/sound/pci/hda/snd-hda-codec-realtek.ko
	printk(KERN_INFO &quot;hda_codec3: %s: BIOS AUTO-PROBING3.\n&quot;,

</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrehowe.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrehowe.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrehowe.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrehowe.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/andrehowe.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/andrehowe.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/andrehowe.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/andrehowe.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrehowe.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrehowe.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrehowe.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrehowe.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrehowe.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrehowe.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrehowe.wordpress.com&amp;blog=10966022&amp;post=14&amp;subd=andrehowe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://andrehowe.wordpress.com/2011/02/25/linux-alc888-voip-reduce-white-noise-in-the-alsa-sound-libray/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b6bab7756773d183b861eb581d4b52ab?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">andrehowe</media:title>
		</media:content>
	</item>
	</channel>
</rss>
