<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.rivendellaudio.org/index.php?action=history&amp;feed=atom&amp;title=Fine_tuning_ALSA_for_your_sound_card</id>
		<title>Fine tuning ALSA for your sound card - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.rivendellaudio.org/index.php?action=history&amp;feed=atom&amp;title=Fine_tuning_ALSA_for_your_sound_card"/>
		<link rel="alternate" type="text/html" href="http://wiki.rivendellaudio.org/index.php?title=Fine_tuning_ALSA_for_your_sound_card&amp;action=history"/>
		<updated>2026-05-01T21:00:36Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.4</generator>

	<entry>
		<id>http://wiki.rivendellaudio.org/index.php?title=Fine_tuning_ALSA_for_your_sound_card&amp;diff=38&amp;oldid=prev</id>
		<title>Higgles: Created page with &quot;'''Q:''' When I last  checked out RD six months ago (DB and audio on playback pc, using M-Audio sound card and on board sound), there was a varying delay/gap when segueing - p...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.rivendellaudio.org/index.php?title=Fine_tuning_ALSA_for_your_sound_card&amp;diff=38&amp;oldid=prev"/>
				<updated>2018-02-21T16:09:49Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;Q:&amp;#039;&amp;#039;&amp;#039; When I last  checked out RD six months ago (DB and audio on playback pc, using M-Audio sound card and on board sound), there was a varying delay/gap when segueing - p...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Q:''' When I last  checked out RD six months ago (DB and audio on playback pc, using M-Audio sound card and on board sound), there was a varying delay/gap when segueing - perhaps in  the order of 50-150ms. Why is this?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''A:''' Ah, ALSA.  There are some tuning knobs in rd.conf(5) that could significantly improve this; specifically, see the 'PeriodSize=' parameter in the [Alsa] section.  That file ships with a very conservative number for this setting so we don't xrun on setups with poor realtime performance.  Lowering it will reduce playout latency at the cost of demanding better RT performance.  At some point as you lower it, you'll start getting xruns (often audible, but can also be seen in the syslog); you generally want this set at a value just &lt;br /&gt;
above that point.  On well-tuned hardware with a preemptive kernel and an ICE2712-based card, I've been able to get this as low as 64 frames/period.&lt;br /&gt;
&lt;br /&gt;
Frederick F. Gleason, Jr.&lt;br /&gt;
&lt;br /&gt;
Chief Developer&lt;br /&gt;
&lt;br /&gt;
Paravel Systems&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more information also see Wiki page: [[Garbled audio, alsa error 32: Broken pipe, Xrun errors]]&lt;/div&gt;</summary>
		<author><name>Higgles</name></author>	</entry>

	</feed>