<?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>Colin.Guthr.ie &#187; Development</title>
	<atom:link href="http://colin.guthr.ie/category/development/feed/" rel="self" type="application/rss+xml" />
	<link>http://colin.guthr.ie</link>
	<description>Illegitimi non carborundum</description>
	<lastBuildDate>Thu, 03 Nov 2011 14:04:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Microphone Czech One Two</title>
		<link>http://colin.guthr.ie/2011/10/microphone-czech-one-two/</link>
		<comments>http://colin.guthr.ie/2011/10/microphone-czech-one-two/#comments</comments>
		<pubDate>Sat, 22 Oct 2011 18:30:59 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[pulseaudio]]></category>

		<guid isPermaLink="false">http://colin.guthr.ie/?p=467</guid>
		<description><![CDATA[What is this? Well, I'm off to Prague tomorrow morning. I'm very much looking forward to this trip as there are a whole bunch of interesting talks going on over the three conferences I'll be visiting, plus I get to go to Prague, which has been on my "cities to visit" list for quite some [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youtube.com/watch?v=NaIDj6vBEoU">What is this?</a> Well, I'm off to Prague tomorrow morning. I'm very much looking forward to this trip as there are a whole bunch of interesting talks going on over <a href="http://gstreamer.freedesktop.org/conference/">the</a> <a href="https://events.linuxfoundation.org/events/linuxcon-europe/">three</a> <a href="https://events.linuxfoundation.org/events/embedded-linux-conference-europe">conferences</a> I'll be visiting, plus I get to go to Prague, which has been on my "cities to visit" list for quite some time. Tick and tick.</p>
<p>Arun will be giving a PulseAudio talk and Lennart will be rambling on about init systems as is customary these days. Very much looking forward to both.</p>
<p>We've also had an IRC meeting about bluetooth support and policy stuff for in-car usage with some big car manufacturers which we'll follow up next week in person and there are also a lot of other audio folk in town so we'll hopefully kickstart the UCM discussions again with a view to merging into PA 2.0. Looking forward to catch up with Mark and Liam again on that front.</p>
<p>So with pretty much all the people invloved in the Linux audio field, this is a really good opportunity to make some good progress!</p>
<p>Here's to a successful trip!</p>
<p>Many thanks to <a href="http://www.collabora.com/">Collabora </a>who have helped me organise funding and also to <a href="http://www.yoctoproject.org/">Yocto Project</a> (via <a href="http://www.ti.com/">Texas Instruments</a>) who have very kindly sponsored my attendance of the LinuxCon/ELC-E part of the event. I look forward to finding out more about their project when I help out at their booth!</p>
]]></content:encoded>
			<wfw:commentRss>http://colin.guthr.ie/2011/10/microphone-czech-one-two/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>One and One Makes Two&#8230;. or 1.1</title>
		<link>http://colin.guthr.ie/2011/10/one-and-one-makes-two-or-1-1/</link>
		<comments>http://colin.guthr.ie/2011/10/one-and-one-makes-two-or-1-1/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 13:46:15 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[mageia]]></category>
		<category><![CDATA[pulseaudio]]></category>

		<guid isPermaLink="false">http://colin.guthr.ie/?p=465</guid>
		<description><![CDATA[Just a quick note to say that I've just pushed PulseAudio 1.1 out the door. Get it while it's hot! This release fixes a couple issues people had with our two-point version number change and several other bits and bobs. On it's way to Mageia Cauldron now and I should get around to backporting this [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick note to say that I've just pushed <a href="http://lists.freedesktop.org/archives/pulseaudio-discuss/2011-October/011898.html">PulseAudio 1.1</a> out the door. Get it while it's hot!</p>
<p>This release fixes a couple issues people had with our two-point version number change and several other bits and bobs.</p>
<p>On it's way to Mageia Cauldron now and I should get around to backporting this sometime very soon for mga1 now that backports are open <img src='http://colin.guthr.ie/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://colin.guthr.ie/2011/10/one-and-one-makes-two-or-1-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>One Point Oh!</title>
		<link>http://colin.guthr.ie/2011/09/one-point-oh/</link>
		<comments>http://colin.guthr.ie/2011/09/one-point-oh/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 11:10:11 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[mageia]]></category>
		<category><![CDATA[mandriva]]></category>
		<category><![CDATA[pulseaudio]]></category>

		<guid isPermaLink="false">http://colin.guthr.ie/?p=458</guid>
		<description><![CDATA[It is with great pride that I announce PulseAudio 1.0! It's been a long time coming and I'm very glad this is finally out of the door and I look forward to a much more streamlined release process in the future. There are too many people to thank but in particular I'd like to thank [...]]]></description>
			<content:encoded><![CDATA[<p>It is with great pride that I announce <a href="http://lists.freedesktop.org/archives/pulseaudio-discuss/2011-September/011451.html">PulseAudio 1.0</a>!</p>
<p>It's been a long time coming and I'm very glad this is finally out of the door and I look forward to a much more streamlined release process in the future.</p>
<p>There are too many people to thank but in particular I'd like to thank Arun Raghavan, Tanu Kaskinen, David Henningsson, Maarten Bosmans, Daniel Mack, Jason Newton, Jyri Sarha, Lu Guanqun, Luiz Augusto von Dentz, Marc-André Lureau, Pierre-Louis Bossart, Siarhei Siamashka and of course Lennart Poettering.</p>
<p>There is more info over on the <a href="http://lists.freedesktop.org/archives/pulseaudio-discuss/2011-September/011451.html">announce mail</a>, so give it a read and also see our <a href="http://www.freedesktop.org/wiki/Software/PulseAudio/Notes/1.0">release notes</a>.</p>
<p>Obviously there is still a huge amount to be done, both in the daemon itself, improving documentation and improving integration into the desktop environment itself. Any help is gratefully received!</p>
<p>So stay tuned for future improvements! And speaking of staying tuned, I'd also like to announce <a href="http://freedesktop.org/software/pulseaudio/planet/">Planet PulseAudio</a>. This is an aggregated feed of posts about PulseAudio. If you have a blog and write about PA, please get in touch and we can add your feed. The design is heavily borrowed from <a href="http://planet.gnome.org/">Planet GNOME</a> so it should be familiar for some readers.</p>
<p>Packages are already available for Mageia Cauldron and backports for Mageia 1 will be available sometime soon. Hopefully someone will update the packages in Mandriva as I'm not actively doing stuff over there these days.</p>
<p>Happy listening!</p>
<p style="font-size: smaller;">PS I'm sure there will be a brown bag moment to come with a 1.0 release, but fingers crossed.... :p</p>
]]></content:encoded>
			<wfw:commentRss>http://colin.guthr.ie/2011/09/one-point-oh/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Thunderavian: Renaming Thunderbird Newsgroups</title>
		<link>http://colin.guthr.ie/2011/08/thunderavian-renaming-thunderbird-newsgroups/</link>
		<comments>http://colin.guthr.ie/2011/08/thunderavian-renaming-thunderbird-newsgroups/#comments</comments>
		<pubDate>Sun, 28 Aug 2011 13:40:36 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[kde]]></category>

		<guid isPermaLink="false">http://colin.guthr.ie/?p=447</guid>
		<description><![CDATA[Like a lot of open source developers in the KDE and GNOME communities, I use Thunderbird as my primary email client (I generally sit on the fence between KDE and GNOME anyway so not using KMail or Evolution is in fitting with that!). I have a few other clients for accessing my mail (e.g. Roundcube [...]]]></description>
			<content:encoded><![CDATA[<p>Like a lot of open source developers in the KDE and GNOME communities, I use <a href="http://www.mozilla.org/en-GB/thunderbird/">Thunderbird</a> as my primary email client (I generally sit on the fence between KDE and GNOME anyway so not using KMail or Evolution is in fitting with that!). I have a few other clients for accessing my mail (e.g. <a href="http://roundcube.net/">Roundcube</a> and on various phones and tablets via IMAP too). But when I use Thunderbird, I also use the <strong>awesome</strong> <a href="http://gmane.org/">Gmane</a> service. This free service allows you to access many of the mailing lists of the Open Source community via an NNTP interface (which Thunderbird supports well). Rather than clogging up your mail server with subscriptions to lots of messages of numerous projects (even if something like GMail would do a good job of organising this), using NNTP gives you control over when to "pull" the messages in. In most cases you can even post to the mailing list via Gmane too without having to subscribe to the list (you just have to go through a one time verification process).</p>
<p>Sadly one things that has always bugged me: the fact I cannot rename the newsgroups to suit my taste. I already use the <a href="https://addons.mozilla.org/en-US/thunderbird/addon/extra-folder-columns/">Extra Folder Columns addon</a> that lets me see additional columns in the folder listings so I had a little go at tweaking it to allow me to assign nicer names for the numerous newsgroups (well mailing lists) I follow. It turned out not to be too hard (tho' it took me a while due to not knowing <em>anything</em> about modding Mozilla apps!).</p>
<p>The result:</p>
<div id="attachment_449" class="wp-caption aligncenter" style="width: 310px"><a href="http://colin.guthr.ie/wp-content/uploads/2011/08/thunderbird-newsgroup-rename.png"><img class="size-medium wp-image-449" title="Thunderbird Newsgroup Rename" src="http://colin.guthr.ie/wp-content/uploads/2011/08/thunderbird-newsgroup-rename-300x279.png" alt="Screenshot showing the effect of renamed newsgroups in Thunderbird" width="300" height="279" /></a><p class="wp-caption-text">Thunderbird Newsgroups Renamed!</p></div>
<p>My <a href="http://colin.guthr.ie/git/thunderbirdi-folder-tweaks/commit/?h=tweaks&#038;id=420c4c30eec845659e722d645d9c042f5e46a08c">patch can be found here</a>. I'll be submitting it upstream to the guys who developed the addon and they'll hopefully incorporate it (even if it does not fit in perfectly with the name of the addon, it wouldn't really be possible to do this separately without tweaking the existing addon in some capacity).</p>
]]></content:encoded>
			<wfw:commentRss>http://colin.guthr.ie/2011/08/thunderavian-renaming-thunderbird-newsgroups/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Network Boot Mageia: PXE + NFS Root goodness</title>
		<link>http://colin.guthr.ie/2011/06/network-boot-mageia-pxe-nfs-root-goodness/</link>
		<comments>http://colin.guthr.ie/2011/06/network-boot-mageia-pxe-nfs-root-goodness/#comments</comments>
		<pubDate>Sun, 26 Jun 2011 17:16:13 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[mageia]]></category>
		<category><![CDATA[mandriva]]></category>

		<guid isPermaLink="false">http://colin.guthr.ie/?p=440</guid>
		<description><![CDATA[So a while back I wrote about setting up Mandriva for network boot and I'm still running a similar configuration albeit upgraded every six months or so as new Mandriva releases come out. Well as I'm now mostly running Mageia, I decided it was worth posting a follow up article. Read on if you're interested [...]]]></description>
			<content:encoded><![CDATA[<p>So a while back I wrote about setting up <a href="http://colin.guthr.ie/2007/12/network-booting-nfs-root-with-mandriva/">Mandriva for network boot</a> and I'm still running a similar configuration albeit upgraded every six months or so as new Mandriva releases come out.</p>
<p>Well as I'm now mostly running Mageia, I decided it was worth posting a follow up article. Read on if you're interested in the nitty gritty of how such a system works.<span id="more-440"></span></p>
<p>So most of the details in that previous article still stand true, although thankfully it's now much simpler and requires very little in the way of patching of system files etc.</p>
<p>The Mandriva and Mageia rc.sysinit files both support the "early local" script (like rc.local, but executed much earlier in the boot process) which allows us to inject the necessary tweaks.</p>
<p>What are those necessary tweaks? Well primarily it's for setting up some tmpfs files and some unionfs or aufs2 mounts. The standard system init does actually do quite a lot towards getting this working automatically, but I've never had much success with that and there are a still a few things missing (related to dbus) so I prefer to keep things simple!</p>
<p>When I first upgraded my chroot to Mageia, the first hurdle was that mkinitrd-net was not available for Mageia. Thankfully I already had this installed from Mandriva days and the package still works fine. I'll make sure we import this package into Mageia so this won't be a problem ongoing. The second problem was that when booting with the latest kernel, the kernel panicked quite quickly relating to unionfs. It seems unionfs+nfs don't really agree that much. So I reverted back to the old Mandriva kernel which worked fine. So with a little research, I found out that aufs2 is basically replacing unionfs these days. With a couple of checks I was able to add aufs2 support to my rc.early.local script easily enough. This allowed the boot to work without any issues.</p>
<p>In actual fact, even with unionfs and the old kernel, things didn't work perfectly and relied on various tmpfs mounts done by the standard rc.sysinit. Without these, I found various issues relating to kernel panics and general slow performance. With aufs2 these problems don't seem to exist anymore and I can bypass these mounts for a simpler mount setup which is all rather nice.</p>
<p>So once things booted the second problem turned out to be related to keyboard support... I can't quite remember what this was, but I suspect it just related to me not having evdev installed... my memory is sketchy tho'. It certainly wasn't a big problem. What was a big problem was that my user had no rights to various hardware devices. I quickly realised that this related to console kit not marking my login (which was via the autologin package) as "active". This took a little more sleuthing but I finally realised this was down to not bringing the autologin package up to date with the recent(ish) changes in console kit, namely the pam ck connector. With a little bit of patching of the /etc/pam.d/autologin file, I was up and running again! I've reported this to the <a href="http://thread.gmane.org/gmane.linux.mageia.devel/5352">Mageia devel list</a>. Hopefully someone who knows this stuff better than me can comment and we can push an update soon now the updates and QA processes are in place.</p>
<p>So without further ado, here is the contents of my rc.early.local. The comments should mean the file kinda speaks for itself.<br />
<code><br />
#!/bin/bash</p>
<p># This file is sourced early on in rc.sysinit and this means<br />
# we can do some very early setup for the read only / filesystem.</p>
<p># Firstly, we need some writable directories.<br />
# We do this using unionfs or aufs to combine the readonly versions with<br />
# a tmpfs location to provide writable space.</p>
<p>USE_AUFS=$(uname -r | grep -v 2.6.33 | wc -l)<br />
UFS=unionfs<br />
if [ $USE_AUFS -gt 0 ]; then<br />
  UFS=aufs<br />
fi</p>
<p># Mount somewhere we can use in ram<br />
TMPFS=/mnt/tmpfs<br />
mount -t tmpfs none $TMPFS -o size=2g</p>
<p>for fs in etc var tmp root; do<br />
  echo "Mounting $UFS on /$fs to make it writable (any changes will not be saved)"<br />
  mkdir -p $TMPFS/$UFS/$fs<br />
  mount -t $UFS -o dirs=$TMPFS/$UFS/$fs=rw:/$fs=ro none /$fs<br />
done</p>
<p># Rather than have the stupid mounts done by rc.sysinit<br />
# our aufs stuff above is much cleaner. But we need to<br />
# tell rc.sysinit that we are READONLY all the same.<br />
echo "READONLY=yes" >>/etc/sysconfig/readonly-root</p>
<p>if [ $USE_AUFS -gt 0 ]; then<br />
  # If we use aufs all is well and we don't need stateful dirs<br />
  # Or the complexity of copying over files from the underlying filesystem<br />
  # to our stateful directories. So we just nuke rwtab and rc.sysinit<br />
  # will do mostly nothing.<br />
  echo -n "">/etc/rwtab</p>
<p>  # We also fudge the code in rc.sysinit to not mount it's own tmpfs<br />
  # space seeing as we already do that above. There is no combo of<br />
  # options to let this happen so we just create a fake mount point<br />
  . /etc/sysconfig/readonly-root<br />
  [ -z "$RW_MOUNT" ] &#038;& RW_MOUNT=/var/lib/stateless/writable</p>
<p>  mkdir -p $TMPFS/ignore-me $RW_MOUNT<br />
  echo "$TMPFS/ignore-me $RW_MOUNT noauto bind 0 0" >>/etc/fstab<br />
else<br />
  # Sadly if we are using unionfs, the module is simply not<br />
  # reliable enough to work properly, thus we must use the tmpfs<br />
  # approach built in to rc.sysinit.</p>
<p>  # Sadly, the official version of this file forgets about keeping<br />
  # the dbus machine-id file consistent (which is used by PulseAudio<br />
  # to store setup info) so we have to manually add this here.<br />
  echo "files	/var/lib/dbus" >>/etc/rwtab<br />
fi</p>
<p># We need dev to have ACL support for Console Kit, but<br />
# unionfs does not support this, so we just mount a clean<br />
# /dev. When aufs is used rather than unionfs, we can just<br />
# include this in the above.<br />
mkdir -p $TMPFS/dev<br />
mount -o bind $TMPFS/dev /dev</p>
<p># Mark /tmp as temp<br />
chmod ugo+rwxt /tmp</p>
<p># Mount the correct config directory for our hostname<br />
HN=$(hostname -s)<br />
if [ -d /var/configs/$HN ]; then<br />
    mount /var/configs/$HN /var/config -o bind<br />
else<br />
    echo "Warning: Config directory /var/configs/$HN does not exist"<br />
fi</p>
<p># Fake an eth0 configuration<br />
cat >/etc/sysconfig/network-scripts/ifcfg-eth0 <<EOF<br />
DEVICE=eth0<br />
ONBOOT=yes<br />
NOZEROCONF=yes<br />
EOF<br />
</code></p>
<p>If anyone has any suggestions for improvements or wants to discuss any of the bits in detail, just leave a comment!</p>
]]></content:encoded>
			<wfw:commentRss>http://colin.guthr.ie/2011/06/network-boot-mageia-pxe-nfs-root-goodness/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Randa, round baby right round</title>
		<link>http://colin.guthr.ie/2011/06/randa-round-baby-right-round/</link>
		<comments>http://colin.guthr.ie/2011/06/randa-round-baby-right-round/#comments</comments>
		<pubDate>Mon, 06 Jun 2011 23:32:34 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[mageia]]></category>
		<category><![CDATA[mandriva]]></category>
		<category><![CDATA[pulseaudio]]></category>

		<guid isPermaLink="false">http://colin.guthr.ie/?p=433</guid>
		<description><![CDATA[OK, so it's been about a year since I was last in this sleeply little town on the path to Zermatt and a lot has changed. While last year it felt like I was the lone voice singing the praises of PulseAudio (although there were a few supporters!), but this year it feels like everything [...]]]></description>
			<content:encoded><![CDATA[<p>OK, so it's been <a href="http://colin.guthr.ie/2010/05/recharging-my-geek-batteries/">about a year</a> since I was last in this <a href="http://en.wikipedia.org/wiki/Randa,_Switzerland">sleeply little town</a> on the path to Zermatt and a lot has changed.</p>
<p>While last year it felt like I was the lone voice singing the praises of PulseAudio (although there were a few supporters!), but this year it feels like everything has gone 180° with pretty much everyone on board! This is a great result for me personally as I've been pretty much the only person working on KDE+PulseAudio integration, so I was very pleased to get this feedback. It's good to know that the hard work and effort you put in is appreciated. It's all too often that the people who appreciate your work are the silent majority (if you do a really good job, they don't know you've done anything as things Just Work™), while the vocal minority are quick to shout and judge and generally flame.</p>
<p>So I was off to an lovely start and I got down to hacking. What did I do this year? Well I continued some work on the interface I made last year called "<a href="http://colin.guthr.ie/2010/07/speaker-setup-now-or-forever-hold-your-peace/">Speaker Setup</a>". I realised just a short while ago that there was no interface in KDE to be able to change the Source Ports (i.e. pick Mic vs. Line In on your laptop) so I set about extending speaker setup to cope with this. I added a Mic VU meter for good measure (mainly to use up the space with something vaguely useful!). I would ultimately like to do more with this UI but this would need more changes in PulseAudio itself (come listen to <a href="https://www.desktopsummit.org/program/sessions/pulseaudio-control-and-command-state-desktop-integration-gnome-kde">my talk</a> in Berlin at the <a href="https://www.desktopsummit.org/">Desktop Summit</a> if you want to know more about this!).</p>
<p>As well as this, I did some tweaks in Phonon to tidy some things up. Various bits and bobs within Phonon and the KCM had bit rotted a little, so minor tweaking saw that all brought up to speed.</p>
<p>I also spent some time hacking on PulseAudio itself, improving some earlier work related to adding Source Output volume controls to PA to take on peer review comments (for those of you unaware, this is capture stream volume control - PA has long supported "per-application" volume control but this only actually applied to outputs. It's not really very common for users to record multiple streams at the same time so support for per-capture stream volumes was never introduced. Now that PA supports Flat Volumes (a feature that always tries to use the hardware volume whenever possible to get the most efficient volume adjustment path), it makes sense to use this for inputs too. It also establishes a degree of symmetry to the API which has always felt a little weird in the past - especially if you are developing a VoIP app (the guys from Skype were a little confused about this disparity for example)). I also spent some time making some minor improvements to pavucontol (shh, don't tell the KDE guys but this is a GTK app!) as this is still my main debug tool when hacking on PA (I mainly improved it to deal more gracefully with errors - like when PA itself crashes and leaves behind the X11 root window's PULSE_SERVER property which results in an invalid argument error from the context with the result that the automatic reconnect mode doesn't work! - but also added some simple keyboard shortcuts that I generally miss when switching windows quickly). I also added support for Source Output volumes to KMix, but this will stay in my private branch until I've committed the PA code as the version check will currently match git master code even if it doesn't yet have the support needed!</p>
<p>I also started to look at Arun and Pierre's awesome work to support passthrough. As there is no reliable way to query receivers for the encodings they support (AC3, DTS etc.) we have to provide a way for users to specify this manually. I worked to rejig how PA stores various bits of information in internal databases to allow for arbitrary lengths of data to be stored rather than the fixed size blobs supported currently. This will pave the way to adding a protocol extension to set the formats for which support will have to be added to the Speaker Setup GUI somehow...</p>
<p>In addition, I also looked at <a href="http://www.videolan.org/">VLC</a>'s PulseAudio output layer. I've known for a while that it's kind of lacking and Rémi from upstream VLC has become rather exasperated about the lack of good documentation we provide. I fully appreciate our docs are lacking (some mails on our mailing list today highlight that internal docs for module development are also severely lacking), but I was able to use what was out there to add what I think is quite robust support to VLC. As VLC is used as a Phonon backend by some distros, I felt this was an important task to work on during this KDE sprint.</p>
<p>All in all it was a pleasure to stay here again and meet some now familiar as well as some new people (especially Bart and Trever who are big PA fans!) I look forward to seeing several of them again in Berlin and hopefully next year here in Randa too!</p>
]]></content:encoded>
			<wfw:commentRss>http://colin.guthr.ie/2011/06/randa-round-baby-right-round/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>(Version) One for the Road (to Randa)</title>
		<link>http://colin.guthr.ie/2011/06/version-one-for-the-road-to-randa/</link>
		<comments>http://colin.guthr.ie/2011/06/version-one-for-the-road-to-randa/#comments</comments>
		<pubDate>Thu, 02 Jun 2011 06:40:37 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[mageia]]></category>
		<category><![CDATA[mandriva]]></category>
		<category><![CDATA[pulseaudio]]></category>

		<guid isPermaLink="false">http://colin.guthr.ie/?p=426</guid>
		<description><![CDATA[Good news everyone! Mageia 1 is out!!!! Just as I travel to Randa for the KDE Multimedia Development Sprint, I hear that all the hard work put in by the various contributors (in all their forms: packagers, admins, translators, testers and artists) has come to fruition! Go read the official announcement and release notes and [...]]]></description>
			<content:encoded><![CDATA[<p><iframe width="425" height="349" src="http://www.youtube.com/embed/1D1cap6yETA" frameborder="0" allowfullscreen></iframe><br />
Good news everyone! Mageia 1 is out!!!! Just as I travel to Randa for the <a href="http://sprints.kde.org/sprint/10">KDE Multimedia Development Sprint</a>, I hear that all the hard work put in by the various contributors (in all their forms: packagers, admins, translators, testers and artists) has come to fruition! Go read the <a href="http://blog.mageia.org/en/2011/06/01/mageia-1/">official announcement</a> and <a href="http://mageia.org/en/1/notes/">release notes</a> and then <a href="http://mageia.org/en/downloads/">download it!</a></p>
<p>I've not had nearly as much time to contribute as much as I would have liked to this release, due to various personal, work and upstream project commitments, but I know my good friends and colleagues have done a stellar job (and I've helped out when I can).</p>
<p>I should say that this shouldn't be expected as a ground breaking release. We're not using Gnome 3 or Systemd yet (both will most likely come in Mageia 2) as this release more signifies the establishing of all the various infrastructure needed to create a distro (build cluster, community management, mirror management etc.) especially the proper cleaning and rebuilding of all of the Mandriva packages thought to be essential or vaguely useful. This was a momentous task and one that I think has been achieved in good time.</p>
<p>Onwards and upwards! (to 2!)</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://colin.guthr.ie/2011/06/version-one-for-the-road-to-randa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Desktop Summit</title>
		<link>http://colin.guthr.ie/2011/03/desktop-summit/</link>
		<comments>http://colin.guthr.ie/2011/03/desktop-summit/#comments</comments>
		<pubDate>Tue, 22 Mar 2011 09:43:43 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[mageia]]></category>
		<category><![CDATA[mandriva]]></category>
		<category><![CDATA[pulseaudio]]></category>

		<guid isPermaLink="false">http://colin.guthr.ie/?p=404</guid>
		<description><![CDATA[This is just a quick reminder that the Call for Papers for the Desktop Summit ends on Friday. So get your thinking caps on and write some abstracts! I've submitted my own proposal which would discuss the UI layers which expose PulseAudio in both KDE and GNOME, how they differ and what is missing (hopefully [...]]]></description>
			<content:encoded><![CDATA[<p><a href="https://www.desktopsummit.org/"><img alt="Desktop Summit Logo" src="https://www.desktopsummit.org/sites/dev.desktopsummit.org/files/acquia_prosper_logo.png" title="Desktop Summit" class="alignright" width="266" height="182" /></a>This is just a quick reminder that the <a href="https://www.desktopsummit.org/cfp">Call for Papers</a> for the <a href="https://www.desktopsummit.org/">Desktop Summit</a> ends on Friday. So get your thinking caps on and write some abstracts! I've submitted my own proposal which would discuss the UI layers which expose PulseAudio in both KDE and GNOME, how they differ and what is missing (hopefully a lot less will be missing by the time the summit comes around in August!!).</p>
<p>I've included my abstract below just in case you are interested.<br />
<span id="more-404"></span></p>
<blockquote><p>PulseAudio integration has come a long way. The times when detractors derided it for crashing or simply not working are mostly in the past (there are always exceptions!) and the various distributions now have solid integration and configuration options available. ALSA has also come a long way to support the timer-based scheduling that PulseAudio uses by default.</p>
<p>Today, a major hurdle is UI and Desktop Environment integration. In this talk I intend to look at the current UIs in both GNOME and KDE and the kind of interfaces that are missing and are still needed and what options still need to be exposed from the underlying ALSA level. I'll look at the routing logic chosen under the (more exposed) KDE and the (more minimal) GNOME interfaces and how we support that at the PA level. I'll also look at how we should be configuring some of the more advanced features of PA in a way that can fit in neatly to the DE with their own, native UI.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://colin.guthr.ie/2011/03/desktop-summit/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The Magic is Back!</title>
		<link>http://colin.guthr.ie/2011/02/the-magic-is-back/</link>
		<comments>http://colin.guthr.ie/2011/02/the-magic-is-back/#comments</comments>
		<pubDate>Tue, 15 Feb 2011 09:52:41 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mageia]]></category>
		<category><![CDATA[mandriva]]></category>

		<guid isPermaLink="false">http://colin.guthr.ie/?p=389</guid>
		<description><![CDATA[As many users in the community know, the Mandriva Linux distribution was forked a few months ago to form Mageia. This is a community driven effort to setup a properly organised and people-powered version of our favourite distro. I've personally not had nearly as much time to concentrate on helping the efforts here as I'd [...]]]></description>
			<content:encoded><![CDATA[<p>As many users in the community know, the Mandriva Linux distribution was forked a few months ago to form Mageia. This is a community driven effort to setup a properly organised and people-powered version of our favourite distro. I've personally not had nearly as much time to concentrate on helping the efforts here as I'd have like (various work and real life things getting in the way), but I've been stunned by the amount of time, effort and good will piling into the project from all corners. Various Mandriva contributors, both past and present have helped set things up and today I was <a href="http://blog.mageia.org/?p=492">able</a> to update and reboot into my new operating system!</p>
<p><code>[colin@jimmy ~]$ uname -a<br />
Linux jimmy 2.6.37-desktop-3.mga #1 SMP Tue Jan 25 14:16:42 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux<br />
[colin@jimmy ~]$ cat /etc/mageia-release<br />
Mageia release 1 (Cauldron) for x86_64</code></p>
<p>Yay! Now I should be able to step up the pace of my contributions as I find it much easier and more natural to work and test as I go on my own computer rather than in a virtualised environment.</p>
<p>Personally I upgraded my computer from Cooker which I had frozen in a pre-rpm5 state, diligently not doing any updates despite wanting several newer packages (esp the latest Firefox 4 beta). The upgrade itself went fairly smoothly, but had some hiccups. These were mostly solved when I realised I still had a bunch of stuff in my urpmi skip.list and cleaned it out (I had various rpm things in there to prevent rpm5 being accidentally installed - I'm sure it'll be good eventually, but I'll hold off for a little while <img src='http://colin.guthr.ie/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ).</p>
<p>So now I can update my computer again, the magic can return! Mageia has arrived!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://colin.guthr.ie/2011/02/the-magic-is-back/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bobby Digital: In 5.1 Surround</title>
		<link>http://colin.guthr.ie/2010/12/bobby-digital-in-5-1-surround/</link>
		<comments>http://colin.guthr.ie/2010/12/bobby-digital-in-5-1-surround/#comments</comments>
		<pubDate>Tue, 21 Dec 2010 18:58:24 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mandriva]]></category>
		<category><![CDATA[pulseaudio]]></category>

		<guid isPermaLink="false">http://colin.guthr.ie/?p=359</guid>
		<description><![CDATA[OK, so this question crops up quite often, so I figured it's worth a post. People often ask how to enable 5.1 digital output with PulseAudio. In the past the answer is typically "you can't because S/PDIF only accepts stereo PCM or passthrough data" and while this is true, we can relatively easily hook up [...]]]></description>
			<content:encoded><![CDATA[<p>OK, so this question crops up quite often, so I figured it's worth a post. People often ask how to enable 5.1 digital output with PulseAudio. In the past the answer is typically "you can't because S/PDIF only accepts stereo PCM or passthrough data" and while this is true, we can relatively easily hook up an AC3 encoder which is helpfully provided in the ALSA plugins package.<span id="more-359"></span></p>
<p>While the "a52" plugin is part of the official ALSA plugins source, some distros do not compile it by default. It's available in Mandriva out of the box, but on Ubuntu for example you'll need to compile it yourself or find someone who provides a custom build for you (feel free to suggest a PPA in the comments below). Someone did tell me about <a href="http://ubuntu-ky.ubuntuforums.org/showthread.php?t=1608804">pretty good instructions</a> about building the plugin yourself.</p>
<p>So after building the plugin all you need to do is add a snippet of ALSA configuration to setup the a52 plugin with a named PCM that PulseAudio checks for and then everything should work automatically.</p>
<p>Here is the snippet. I'd recommend adding it to your ~/.asoundrc file (just create it if it doesn't exist;  ~/ is just a shortcut to your home directory).</p>
<pre>pcm.a52 {
  @args [CARD]
  @args.CARD {
    type string
  }
  type rate
  slave {
    pcm {
      type a52
      bitrate 448
      channels 6
      card $CARD
    }
    rate 48000 #required somehow, otherwise nothing happens in PulseAudio
  }
}
</pre>
<p>(just as a note, the previously linked article has an error when is suggests using echo to add this to your ~/.asoundrc as it doesn't double escape the $CARD)</p>
<p>Once this is in place, then PulseAudio will automatically probe it and provide you the option of selecting a 5.1 Digitial Output profile. You can use pavucontrol's Configuration tab to pick your profile (or gnome-volume-control or the Speaker Setup tab in KDE).</p>
<p>One other thing you may have to do to get this working properly is change the default sample rate used by PA to be 48kHz. To do this, just edit daemon.conf in either /etc/pulse or ~/.pulse and include the line:</p>
<pre>
default-sample-rate = 48000
</pre>
<p>&nbsp;</p>
<h1>What about Passthrough?</h1>
<p>At  present Passthrough support isn't available in the latest released  version of PA (it is supported in git master). Even when this is  available it will be exclusive (as will any other codec support  such as MP3 for Bluetooth and RAOP etc.) and as such mixing will not be  available which leads to a whole set of UI and configuration problems,  so in many ways using a software AC3 encoding system like the A52 plugin  here has many advantages over using passthrough. Obviously there is  processing and mixing overhead but for many people (myself included)  this is perfectly acceptable.</p>
<p>One odd thing about the setup is  that some applications will consider this an "Analog[ue]" output (e.g.  in XBMC I have to select Analog Output and choose 5.1 speakers to get  everything working correctly, but at least it works <img src='http://colin.guthr.ie/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>PS, yes the title is a <a href="http://en.wikipedia.org/wiki/Bobby_Digital_in_Stereo">Wu-Tang</a> reference <img src='http://colin.guthr.ie/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://colin.guthr.ie/2010/12/bobby-digital-in-5-1-surround/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

