<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rivendellaudio.wiki/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="https://rivendellaudio.wiki/index.php?action=history&amp;feed=atom&amp;title=Fine_tuning_ALSA_for_your_sound_card"/>
	<link rel="alternate" type="text/html" href="https://rivendellaudio.wiki/index.php?title=Fine_tuning_ALSA_for_your_sound_card&amp;action=history"/>
	<updated>2026-04-23T14:48:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://rivendellaudio.wiki/index.php?title=Fine_tuning_ALSA_for_your_sound_card&amp;diff=28791&amp;oldid=prev</id>
		<title>imported&gt;WaybackImport: Imported via HTML fallback (before-primary)</title>
		<link rel="alternate" type="text/html" href="https://rivendellaudio.wiki/index.php?title=Fine_tuning_ALSA_for_your_sound_card&amp;diff=28791&amp;oldid=prev"/>
		<updated>2023-01-28T10:13:53Z</updated>

		<summary type="html">&lt;p&gt;Imported via HTML fallback (before-primary)&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;
A: Ah, ALSA.  There are some tuning knobs in rd.conf(5) that could significantly improve this; specifically, see the &amp;#039;PeriodSize=&amp;#039; parameter in the [Alsa] section.  That file ships with a very conservative number for this setting so we don&amp;#039;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&amp;#039;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&amp;#039;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;
For more information also see Wiki page: [/index.php/Garbled_audio,_alsa_error_32:_Broken_pipe,_Xrun_errors Garbled audio, alsa error 32: Broken pipe, Xrun errors]&lt;br /&gt;
&lt;br /&gt;
Retrieved from &amp;quot;[[Fine_tuning_ALSA_for_your_sound_card|http://wiki.rivendellaudio.org/index.php?title=Fine_tuning_ALSA_for_your_sound_card&amp;amp;oldid=38]]&amp;quot;&lt;br /&gt;
&lt;/div&gt;</summary>
		<author><name>imported&gt;WaybackImport</name></author>
	</entry>
</feed>