<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>SAVE_SAMPLE conflicts with JGMOD!</title>
		<link>http://www.allegro.cc/forums/view/204565</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Mon, 16 Sep 2002 22:16:54 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>JGMOD uses the same function name as Allegro and<br />it generates conflicts compiling 4.1.1 when grabber is extended by JGMOD&#039;s stuff! <img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" /></p><p>Probably [?] when you use SAVE_SAMPLE when JGMOD is linked your program will not compile!</p><p>How about that?:-/
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Rafal Szyja)</author>
		<pubDate>Mon, 02 Sep 2002 22:21:21 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Try emailing the author of JGMOD and asking if he can change it. Failing that, simply rename all instances of &#039;save_sample&#039; in JGMOD to something else.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (lwithers)</author>
		<pubDate>Tue, 03 Sep 2002 18:46:16 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Sorry about that, I don&#039;t use JGMOD (I&#039;m the one who added save_sample).</p><p>Maybe it would be a good idea to start using the al_ prefix for new routines ?<br />(I have the feeling that Peter will jump in and say &quot;no new routines!&quot; <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (vpenquerch)</author>
		<pubDate>Thu, 05 Sep 2002 16:30:53 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I think adding &quot;al_&quot; now for functions would look a bit corny and only add to the lack of consistancy in Version 4.X ...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Thu, 05 Sep 2002 19:45:34 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thanx for help guys <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" /></p><p>That&#039;s good idea to check existing libraries for function names before adding new functions to ALLEGRO!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Rafal Szyja)</author>
		<pubDate>Fri, 06 Sep 2002 00:14:17 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Have you considered switching to <a href="http://dumb.sf.net/">DUMB</a>? It lacks MOD support and gives you very little control over playback, but it has better sound quality, is more faithful to the original trackers (I think...) and, most importantly, supports IT <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>(Sorry, couldn&#039;t resist <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /> )
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bruce Perry)</author>
		<pubDate>Fri, 06 Sep 2002 04:43:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Ben, we all forgive you! as long as MOD, and better playback control are added! <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Fri, 06 Sep 2002 05:32:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thanks Ben - DUMB isn&#039;t too good! REALLY!<br />I use it in my Multimedia player - MultiAMP for DOS only because i haven&#039;t found anything else that supports Impulse Tracker. JGMOD RULEZ THE GLOBE!<br />DUMB is very slow... and it have stupid structs...<br />it can&#039;t support MOD... it can&#039;t detect lenght of<br />module... It can&#039;t display tech info like JGMOD...<br />so wot? <img src="http://www.allegro.cc/forums/smileys/shocked.gif" alt=":o" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Rafal Szyja)</author>
		<pubDate>Sat, 07 Sep 2002 22:38:51 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>So, are you paying me for it? <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /></p><p>I&#039;m aware of most of the problems you&#039;ve mentioned, and I&#039;m planning on fixing them. However, your comments about DUMB&#039;s speed worry me. Can you give me some figures, and tell me what environment you&#039;re working under? What processor, what compiler, how many samples you&#039;re trying to play at once, etc.</p><p>Note that DUMB defaults to a very expensive resampling algorithm that a modern computer will have little trouble with (for a reasonable number of samples) but an older one will. You may like to try speeding it up by doing this:</p><p><span class="source-code">dumb_resampling_quality <span class="k3">=</span> <span class="n">1</span><span class="k2">;</span></span></p><p>See dumb/docs/dumb.txt for info on what the different values mean.</p><p>One more thing - what exactly is stupid about DUMB&#039;s structs? Just the names, or what they&#039;re used for? There is a good reason to separate the structs out in the way that JGMOD doesn&#039;t - it allows you to have the same piece of music playing from two positions at the same time (seldom useful but there if you need it). I&#039;d appreciate comments a little more constructive than &quot;stupid&quot;, if you&#039;d be so kind.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bruce Perry)</author>
		<pubDate>Sun, 08 Sep 2002 14:40:42 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hey, Ben <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>My config is:<br />Pentium 166@187.5<br />80MB RAM<br />i&#039;m using Mingw 1.1 (gcc 2.95.3) and DJGPP v2.03 with gcc 2.95.3 </p><p>Almost any IT mod which uses 10+ samples at once causes sound skipping with buffer=16384,resampling=4 and<br />mixing=44100. <br />some songs causes skipping with my MultiAMP when<br />I seek them. </p><p>Stupid structs:<br />hmm... I mean that DUMB isn&#039;t storing technical<br />info about mods in its structs...</p><p>so what&#039;s next?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Rafal Szyja)</author>
		<pubDate>Sun, 08 Sep 2002 19:28:32 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>Almost any IT mod which uses 10+ samples at once causes sound skipping with buffer=16384,resampling=4 and<br /> mixing=44100.</p></div></div><p>As I said, you&#039;ll get much better performance (and lower quality but still as good as Allegro&#039;s mixer can do) by changing resampling to 1. The 4 setting is designed for advanced processors like the P4 and Athlon (see the comments at the top of dumb/src/helpers/resample.c if you&#039;re interested in this).</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>some songs causes skipping with my MultiAMP when<br /> I seek them.</p></div></div><p>I am, at this very moment, working on a system to make seeking much faster. The same system is going to calculate the length. So there is hope <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>hmm... I mean that DUMB isn&#039;t storing technical<br /> info about mods in its structs...</p></div></div><p>That&#039;s because DUH structs are universal, as suggested by the U (Dedicated Universal Harmony). They can also store OGG files, and anything else you throw at them, provided an add-on is available for it.</p><p>What info exactly did you want stored in the DUH struct? I am planning on adding author information, but not much else. There will probably be module-specific functions to probe a DUH for extra information like how many samples, that kind of stuff (and they might crash on non-module DUHs, I&#039;ve yet to decide exactly how to implement them) - and there&#039;ll be callbacks when various things happen. There will also be means to adjust playback, e.g. speed it up. In the end it should be possible to construct an example as fully functional as JGMOD&#039;s.</p><p>However, if you want to see the true (as yet undocumented) strengths of DUMB, try <a href="http://www.allegro.cc/depot/project.php?_id=590">TeleHack</a>. It does need a good processor though (owing to TeleHack&#039;s design, not DUMB&#039;s).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bruce Perry)</author>
		<pubDate>Sun, 08 Sep 2002 19:55:46 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The next version of JGMOD will have renamed function to erase the conflict.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>Jeffery (via allegro mailing list):<br />I wholly agree. My save_sample shall be changed. Give me a day or two to do it.</p></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Mon, 09 Sep 2002 02:41:10 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>SORRY... i was in hospital last week - no posts were made</p><p>OK GUYS!<br />so this topic is closed...</p><p>thanks for help from YOU! <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Rafal Szyja)</author>
		<pubDate>Mon, 16 Sep 2002 22:16:54 +0000</pubDate>
	</item>
</rss>

