<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: KDE&#8217;s default sound system  is in the stone ages!</title>
	<atom:link href="http://irfanhabib.com/blog/2007/06/22/kdes-default-sound-system-is-in-the-stone-ages/feed/" rel="self" type="application/rss+xml" />
	<link>http://irfanhabib.com/blog/2007/06/22/kdes-default-sound-system-is-in-the-stone-ages/</link>
	<description>On Mac, Linux, Grid, Virtualization and Software Technology</description>
	<lastBuildDate>Fri, 27 May 2011 07:08:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mitch 74</title>
		<link>http://irfanhabib.com/blog/2007/06/22/kdes-default-sound-system-is-in-the-stone-ages/comment-page-1/#comment-643</link>
		<dc:creator>Mitch 74</dc:creator>
		<pubDate>Wed, 04 Jul 2007 13:15:17 +0000</pubDate>
		<guid isPermaLink="false">http://irfan.phantomos-vi.com/?p=128#comment-643</guid>
		<description>aRts was created at a time when the only sound subsystem provided by Linux was OSS (which required applications to hit a device through /dev/dsp, take control of that file/device, and release it when done).
OSS was still based on the old paradigm of cards that had limited sound mixing capabilities, and which were unable to mix sounds on varying frequencies and sampling (e.g. 22050 Hz in 8-bit from a single application, ending and releasing /dev/dsp, then 16-bit 44100 Hz from another app).
aRts allowed KDE to take control of /dev/dsp, and then KDE apps would hit aRts so that aRts would resample those sound samples and send it to the card as if all aRts-using apps were a single app.

It meant that no other app could access /dev/dsp while KDE was playing back sound (you could program KDE to release the sound device after a fraction of a second, or never), and vice-versa.

Since then, Linux has gained ALSA (with OSS emulation). ALSA allows more modern hardware (able to mix from different sources, with different samplings and rates) to be hit by different apps at the same time, making aRts redundant, within the limits of the hardware (but since most AC&#039;97 codecs can still support more than 32 simultaneous channels, good luck in saturating those).

Skype for Linux now uses ALSA; the only way you could hit a snag is when two apps require simultaneous access to the OSS emulation layer. However, most maintained applications now use ALSA (yes, even XMMS, KDE, Xine and mplayer - but you may need to configure those to use ALSA over OSS).</description>
		<content:encoded><![CDATA[<p>aRts was created at a time when the only sound subsystem provided by Linux was OSS (which required applications to hit a device through /dev/dsp, take control of that file/device, and release it when done).<br />
OSS was still based on the old paradigm of cards that had limited sound mixing capabilities, and which were unable to mix sounds on varying frequencies and sampling (e.g. 22050 Hz in 8-bit from a single application, ending and releasing /dev/dsp, then 16-bit 44100 Hz from another app).<br />
aRts allowed KDE to take control of /dev/dsp, and then KDE apps would hit aRts so that aRts would resample those sound samples and send it to the card as if all aRts-using apps were a single app.</p>
<p>It meant that no other app could access /dev/dsp while KDE was playing back sound (you could program KDE to release the sound device after a fraction of a second, or never), and vice-versa.</p>
<p>Since then, Linux has gained ALSA (with OSS emulation). ALSA allows more modern hardware (able to mix from different sources, with different samplings and rates) to be hit by different apps at the same time, making aRts redundant, within the limits of the hardware (but since most AC&#8217;97 codecs can still support more than 32 simultaneous channels, good luck in saturating those).</p>
<p>Skype for Linux now uses ALSA; the only way you could hit a snag is when two apps require simultaneous access to the OSS emulation layer. However, most maintained applications now use ALSA (yes, even XMMS, KDE, Xine and mplayer &#8211; but you may need to configure those to use ALSA over OSS).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Flaschen</title>
		<link>http://irfanhabib.com/blog/2007/06/22/kdes-default-sound-system-is-in-the-stone-ages/comment-page-1/#comment-653</link>
		<dc:creator>Matthew Flaschen</dc:creator>
		<pubDate>Sun, 24 Jun 2007 04:06:01 +0000</pubDate>
		<guid isPermaLink="false">http://irfan.phantomos-vi.com/?p=128#comment-653</guid>
		<description>Okay, my mistake.  It still seems (from what I&#039;m reading) that arTs can do mixing, even if it&#039;s not working in your scenario.</description>
		<content:encoded><![CDATA[<p>Okay, my mistake.  It still seems (from what I&#8217;m reading) that arTs can do mixing, even if it&#8217;s not working in your scenario.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: irfanhab</title>
		<link>http://irfanhabib.com/blog/2007/06/22/kdes-default-sound-system-is-in-the-stone-ages/comment-page-1/#comment-648</link>
		<dc:creator>irfanhab</dc:creator>
		<pubDate>Sun, 24 Jun 2007 03:35:09 +0000</pubDate>
		<guid isPermaLink="false">http://irfan.phantomos-vi.com/?p=128#comment-648</guid>
		<description>@Matthew

I&#039;ve already said, that Xine does not have the same problem as aRts.
By default Kaffeine uses Xine. Amarok can be configured, and in my installation it came configured with Xine.</description>
		<content:encoded><![CDATA[<p>@Matthew</p>
<p>I&#8217;ve already said, that Xine does not have the same problem as aRts.<br />
By default Kaffeine uses Xine. Amarok can be configured, and in my installation it came configured with Xine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Flaschen</title>
		<link>http://irfanhabib.com/blog/2007/06/22/kdes-default-sound-system-is-in-the-stone-ages/comment-page-1/#comment-652</link>
		<dc:creator>Matthew Flaschen</dc:creator>
		<pubDate>Sun, 24 Jun 2007 03:23:53 +0000</pubDate>
		<guid isPermaLink="false">http://irfan.phantomos-vi.com/?p=128#comment-652</guid>
		<description>As far as I can tell, it is false that arTs can not play multiple streams at a time.  I have arTs enabled (though &quot;Enable the sound system&quot; checkbox&quot;) am currently playing two songs (as an experiment) using Kaffeine and Amarok.  It doesn&#039;t sound great, but it certain works fine.  Wikipedia says of arts, &quot;A key component of aRts is the sound server which mixes several sound streams in realtime.&quot;  So I don&#039;t know what problem you&#039;re having, but it&#039;s not as fundamental a defect as you make it out to be.</description>
		<content:encoded><![CDATA[<p>As far as I can tell, it is false that arTs can not play multiple streams at a time.  I have arTs enabled (though &#8220;Enable the sound system&#8221; checkbox&#8221;) am currently playing two songs (as an experiment) using Kaffeine and Amarok.  It doesn&#8217;t sound great, but it certain works fine.  Wikipedia says of arts, &#8220;A key component of aRts is the sound server which mixes several sound streams in realtime.&#8221;  So I don&#8217;t know what problem you&#8217;re having, but it&#8217;s not as fundamental a defect as you make it out to be.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: João Matos</title>
		<link>http://irfanhabib.com/blog/2007/06/22/kdes-default-sound-system-is-in-the-stone-ages/comment-page-1/#comment-647</link>
		<dc:creator>João Matos</dc:creator>
		<pubDate>Sat, 23 Jun 2007 19:41:41 +0000</pubDate>
		<guid isPermaLink="false">http://irfan.phantomos-vi.com/?p=128#comment-647</guid>
		<description>i don&#039;t think that the problem here is with arts but with the way that programs like java or skype access the sound card.

you may access the sound system or access the sound card if an aplication tries to access a sound card wich is busy with the sound system then it will be obvious that it won&#039;t work. They must talk with the sound system!!

I don&#039;t think that any sound system can handle this bad programming behaviour</description>
		<content:encoded><![CDATA[<p>i don&#8217;t think that the problem here is with arts but with the way that programs like java or skype access the sound card.</p>
<p>you may access the sound system or access the sound card if an aplication tries to access a sound card wich is busy with the sound system then it will be obvious that it won&#8217;t work. They must talk with the sound system!!</p>
<p>I don&#8217;t think that any sound system can handle this bad programming behaviour</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: irfanhab</title>
		<link>http://irfanhabib.com/blog/2007/06/22/kdes-default-sound-system-is-in-the-stone-ages/comment-page-1/#comment-645</link>
		<dc:creator>irfanhab</dc:creator>
		<pubDate>Sat, 23 Jun 2007 14:49:55 +0000</pubDate>
		<guid isPermaLink="false">http://irfan.phantomos-vi.com/?p=128#comment-645</guid>
		<description>As I have already mentioned, I use OpenSUSE 10.2, and it overrides the KDE Control Center. And I&#039;ve havent seen anywhere where your could disable arts.</description>
		<content:encoded><![CDATA[<p>As I have already mentioned, I use OpenSUSE 10.2, and it overrides the KDE Control Center. And I&#8217;ve havent seen anywhere where your could disable arts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: आशीष शुक्ल</title>
		<link>http://irfanhabib.com/blog/2007/06/22/kdes-default-sound-system-is-in-the-stone-ages/comment-page-1/#comment-646</link>
		<dc:creator>आशीष शुक्ल</dc:creator>
		<pubDate>Sat, 23 Jun 2007 14:14:02 +0000</pubDate>
		<guid isPermaLink="false">http://irfan.phantomos-vi.com/?p=128#comment-646</guid>
		<description>If you want to disable aRts using KDE Control Centre, choose &quot;Sound &amp; Multimedia&quot; -&gt; &quot;Sound System&quot;, from there uncheck &quot;Enable the sound system&quot; check box.</description>
		<content:encoded><![CDATA[<p>If you want to disable aRts using KDE Control Centre, choose &#8220;Sound &amp; Multimedia&#8221; -&gt; &#8220;Sound System&#8221;, from there uncheck &#8220;Enable the sound system&#8221; check box.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: irfanhab</title>
		<link>http://irfanhabib.com/blog/2007/06/22/kdes-default-sound-system-is-in-the-stone-ages/comment-page-1/#comment-651</link>
		<dc:creator>irfanhab</dc:creator>
		<pubDate>Sat, 23 Jun 2007 09:48:55 +0000</pubDate>
		<guid isPermaLink="false">http://irfan.phantomos-vi.com/?p=128#comment-651</guid>
		<description>How do you configure Java SDK to output directly to ALSA? And What about Skype?

And the opensuse&#039;s YaST replaces the good old KDE control center, and I&#039;ve been searching, in vain, for a way to disable aRTs.</description>
		<content:encoded><![CDATA[<p>How do you configure Java SDK to output directly to ALSA? And What about Skype?</p>
<p>And the opensuse&#8217;s YaST replaces the good old KDE control center, and I&#8217;ve been searching, in vain, for a way to disable aRTs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Spiros</title>
		<link>http://irfanhabib.com/blog/2007/06/22/kdes-default-sound-system-is-in-the-stone-ages/comment-page-1/#comment-650</link>
		<dc:creator>Spiros</dc:creator>
		<pubDate>Sat, 23 Jun 2007 09:12:36 +0000</pubDate>
		<guid isPermaLink="false">http://irfan.phantomos-vi.com/?p=128#comment-650</guid>
		<description>What works for me is to completely disable the aRts (control center, sound system)and have every application configured to output sound directly to ALSA. aRts can be bypassed for the KDE system notifications also by using a custom player (ie  /usr/bin/play in control center, system notifications, player settings).

HTH</description>
		<content:encoded><![CDATA[<p>What works for me is to completely disable the aRts (control center, sound system)and have every application configured to output sound directly to ALSA. aRts can be bypassed for the KDE system notifications also by using a custom player (ie  /usr/bin/play in control center, system notifications, player settings).</p>
<p>HTH</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kamran</title>
		<link>http://irfanhabib.com/blog/2007/06/22/kdes-default-sound-system-is-in-the-stone-ages/comment-page-1/#comment-644</link>
		<dc:creator>Kamran</dc:creator>
		<pubDate>Fri, 22 Jun 2007 22:59:14 +0000</pubDate>
		<guid isPermaLink="false">http://irfan.phantomos-vi.com/?p=128#comment-644</guid>
		<description>I feel your pain brother.</description>
		<content:encoded><![CDATA[<p>I feel your pain brother.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

