<?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/"
	>

<channel>
	<title>Nepherte (dot) be &#187; Perfect Setup</title>
	<atom:link href="http://www.nepherte.be/tag/perfect-setup/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nepherte.be</link>
	<description>About Nepherte, Mosiah and the person behind</description>
	<lastBuildDate>Mon, 30 Aug 2010 18:45:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Featuring PulseAudio in GNOME 2.26</title>
		<link>http://www.nepherte.be/featuring-pulseaudio-in-gnome-2-26/</link>
		<comments>http://www.nepherte.be/featuring-pulseaudio-in-gnome-2-26/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 20:42:45 +0000</pubDate>
		<dc:creator>Nepherte</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[2.26]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[Perfect Setup]]></category>
		<category><![CDATA[PulseAudio]]></category>

		<guid isPermaLink="false">http://www.nepherte.be/?p=698</guid>
		<description><![CDATA[PulseAudio is together with the new sound applet itself, the most remarkable new feature in the recent GNOME 2.26 release. PulseAudio is a (cross-platform) networked sound server and includes many features such as software mixing of multiple audio streams. A sound server is basically a proxy for your sound applications. It allows you to do [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Official PulseAudio Homepage" href="http://www.pulseaudio.org/">PulseAudio</a> is together with the new sound applet itself, the most remarkable new feature in the recent <a title="GNOME: The Free Software Desktop Project" href="http://www.gnome.org/">GNOME</a> 2.26 release. PulseAudio is a (cross-platform) networked sound server and includes many features such as software mixing of multiple audio streams. A sound server is basically a proxy for your sound applications. It allows you to do advanced operations on your sound data as it passes between your application and your hardware. Things like transferring the audio to a different machine, changing the sample format or channel count and mixing several sounds into one are easily achieved using a sound server.</p>
<p>As a student Computer Science Engineer I very much appreciate the modular design. PulseAudio contains a lot of (module) plugins.  All audio from/to clients and audio interfaces goes through these modules. PulseAudio clients can send audio to &#8220;sinks&#8221; and receive audio from &#8220;sources&#8221;. A client can be GStreamer, xinelib, MPlayer or any other audio application. Only the device drivers/audio interfaces can be either sources or sinks (they are often hardware in- and out-puts). This diagram nicely illustrates the big picture.</p>
<p><a href="http://www.nepherte.be/wp-content/uploads/2009/04/pulseaudio-diagram.png"><img class="size-medium wp-image-716 alignleft" title="Pulseaudio Diagram" src="http://www.nepherte.be/wp-content/uploads/2009/04/pulseaudio-diagram-246x300.png" alt="Pulseaudio Diagram" width="246" height="300" /></a></p>
<p>With the integration of PulseAudio in GNOME, it will most likely become the dominant audio solution for linux. There are, unfortunately, many opposed to PulseAudio, mainly because of the poor implementation in Ubuntu Hardy Heron and Intrepid Ibex. For those interested in fixing PulseAudio on Ubuntu, I can warmly recommend <a title="HOWTO: PulseAudio Fixes &amp; System-Wide Equalizer Support" href="http://http://ubuntuforums.org/showthread.php?t=789578">this topic</a> on the ubuntuforums. While I experienced this issue firsthand,  it remains  an unjustified reason as PulseAudio is not to blame here. Hopefully the general acceptance will improve in the near future.</p>
<p>Funny thing is that of all distros it is Arch Linux that decides not to implement PulseAudio. JDG, the gnome maintainer, patched gnome to its previous state mainly because of another unjustified misconception about PulseAudio. People generally believe that PulseAudio acts like a regular daemon and that it needs to be started in order to get any sound. This is however not true. Unless you want it to act like a central system-wide sound server, the daemon will be spawned when an application tries to play sound. You can follow  the discussion of gnome 2.26 on Arch linux <a title="Gnome 2.26 Discussion" href="http://bbs.archlinux.org/viewtopic.php?id=68191">here</a>.</p>
<p>Therefore I had to rebuild a small part of gnome in order to get PulseAudio working. The packages involved were the unpatched gnome-settings-daemon, gnome-applets, gnome-media and gnome-control-center. To get every sound application working, I had to rebuild some of them with pulse support enabled as well. The result is very much worth it.</p>
<p>As you can see in the screenshots, the sound applet has received a new look. They now use a horizontal slider instead of a vertical one. In addition, they included a mute check box. Gnome continues with their tradition of minor but useful changes with this nice applet.</p>
<p><a href="http://www.nepherte.be/wp-content/uploads/2009/04/volume-applet.png"><img class="alignnone size-medium wp-image-704" title="Default Volume Applet" src="http://www.nepherte.be/wp-content/uploads/2009/04/volume-applet-300x240.png" alt="Default Volume Applet" width="300" height="240" /></a><a href="http://www.nepherte.be/wp-content/uploads/2009/04/volume-applet-per-application.png"><img class="alignnone size-medium wp-image-706" title="Default Volume Applet -  sound per application" src="http://www.nepherte.be/wp-content/uploads/2009/04/volume-applet-per-application-300x240.png" alt="Default Volume Applet -  sound per application" width="300" height="240" /></a></p>
<p>Thanks to PulseAudio, you can now also set the volume per application. You can mute for example the sound of MPlayer while  leaving mpd&#8217;s sound untouched or simply set custom volume levels for each application. You can create <a href="http://wiki.archlinux.org/index.php/Pulseaudio#Multiple_PulseAudio_ALSA_devices">volume sliders for each channel</a> as well. A welcome addition. Even more impressive is the way it graciously deals with multiple sound cards. It recognizes both my on board as my creative x-fi sound card and I can switch between them. If you want, you can<a title="Use PulseAudio to playback music on two sound cards simultaneously" href="http://www.pulseaudio.org/wiki/FAQ#CanIusePulseAudiotoplaybackmusicontwosoundcardssimultaneously"> simultaneously play sound through multiple audio cards</a> or <a title="Use PulseAudio to combine two stereo soundcards into a virtual surround sound card" href="http://www.pulseaudio.org/wiki/FAQ#CanIusePulseAudiotocombinetwostereosoundcardsintoavirtualsurroundsoundcard">map specific channels to specific sound card outputs</a> and create a so called &#8220;virtual surround sound card&#8221;. For example, use 2 outputs of sound card 1 for the front left/right channel and map the rear left/right channel to sound card 2.</p>
<p><a href="http://www.nepherte.be/wp-content/uploads/2009/04/volume-applet-multiple-soundcards.png"><img class="alignnone size-medium wp-image-705" title="Default Volume Applet - Multiple Sound Cards" src="http://www.nepherte.be/wp-content/uploads/2009/04/volume-applet-multiple-soundcards-300x240.png" alt="Default Volume Applet - Multiple Sound Cards" width="300" height="240" /></a><a href="http://www.nepherte.be/wp-content/uploads/2009/04/pulseaudio-applications.png"><img class="alignnone size-medium wp-image-724" title="Pulseaudio Applications" src="http://www.nepherte.be/wp-content/uploads/2009/04/pulseaudio-applications-300x240.png" alt="Pulseaudio Applications" width="300" height="240" /></a></p>
<p>PulseAudio comes with some optional extra applications depicted on the right most screenshot above: a volume meter, a volume manager and the pulseaudio manager. Not depicted is the device chooser where you choose the pulseaudio server, the used sink, etc&#8230;</p>
<p style="text-align: left;">In conclusion I can say PulseAudio is really worth having, giving you lots of possibilitiesn and tThe integration with GNOME is a great success.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nepherte.be/featuring-pulseaudio-in-gnome-2-26/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
