<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Can  i use mp3 sounds?</title>
		<link>http://www.allegro.cc/forums/view/588033</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Sat, 14 Oct 2006 12:12:12 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>

Hi ,</p><p>        i&#39;m using allegro for the development..<br />  can i use mp3 type of files using allegro??</p><p>if yes, How can i use them and what should i do?</p><p>Also i want to know among the mp3 , wav formats which would the best and which would be easier to be played among all the systems ..(i&#39;m going to use sounds for the buttons, warnings etc all would be short in length)</p><p>If can pl add the code to play the sounds(either mp3 or wav).. using allegro.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Vijay K)</author>
		<pubDate>Sat, 14 Oct 2006 11:57:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You can, but others will suggest you rather use ogg instead of mp3. Allegro itself doesn&#39;t load those formats, but there are a couple of libraries that do in the libraries section.</p><p>Playing plain wav files is easiest because you don&#39;t need any external libraries. You just need those functions:
</p><div class="source-code snippet"><div class="inner"><pre><a href="http://www.allegro.cc/manual/load_sample" target="_blank"><span class="a">load_sample</span></a><span class="k2">(</span><span class="k2">)</span>
<a href="http://www.allegro.cc/manual/play_sample" target="_blank"><span class="a">play_sample</span></a><span class="k2">(</span><span class="k2">)</span>
</pre></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (miran)</author>
		<pubDate>Sat, 14 Oct 2006 12:12:12 +0000</pubDate>
	</item>
</rss>
