<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Mp3 on Johnny Huang</title><link>https://hzqtc.github.io/tags/mp3/</link><description>Recent content in Mp3 on Johnny Huang</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 24 May 2012 00:00:00 +0000</lastBuildDate><atom:link href="https://hzqtc.github.io/tags/mp3/index.xml" rel="self" type="application/rss+xml"/><item><title>Play MP3 with libmpg123 and libao</title><link>https://hzqtc.github.io/2012/05/play-mp3-with-libmpg123-and-libao.html</link><pubDate>Thu, 24 May 2012 00:00:00 +0000</pubDate><guid>https://hzqtc.github.io/2012/05/play-mp3-with-libmpg123-and-libao.html</guid><description>&lt;p&gt;I&amp;rsquo;m rewriting some of my python applications using C. One of them plays online mp3 audio. I used gstreamer to play mp3 and I&amp;rsquo;m considering switching to a more lightweight solution. Finally, I choose &lt;a href="http://www.mpg123.de/" target="_blank" rel="noreferrer"&gt;libmpg123&lt;/a&gt; and &lt;a href="http://xiph.org/ao/" target="_blank" rel="noreferrer"&gt;libao&lt;/a&gt;. Libmpg123 is used to decode mp3 and libao is then used to make the sound.&lt;/p&gt;</description></item></channel></rss>