shithub: dumb

Download patch

ref: 719dbbe38317512e9aabb2654953e9ba226caaf6
parent: 7b35d20e52156ddf5eb73015f43f6787f520bcf5
author: Chris Moeller <[email protected]>
date: Mon Jan 11 04:00:09 EST 2010

{6/16/2006 12:00:56 AM}- Changed Amiga clock rate and divisor constant
- Added finetune property to IT_SAMPLE

git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C110

--- a/dumb/include/internal/it.h
+++ b/dumb/include/internal/it.h
@@ -85,7 +85,8 @@
 /* #define AMIGA_DIVISOR ((float)(4.0 * 14317056.0)) */
 /* I believe the following one to be more accurate. */
 //#define AMIGA_DIVISOR ((float)(8.0 * 7159090.5))
-#define AMIGA_DIVISOR ((float)(16.0 * 3579546.471))
+#define AMIGA_CLOCK 3546895
+#define AMIGA_DIVISOR ((float)(16.0 * AMIGA_CLOCK))
 
 
 
@@ -227,6 +228,8 @@
 	unsigned char vibrato_depth;
 	unsigned char vibrato_rate;
 	unsigned char vibrato_waveform;
+
+	signed char   finetune;
 
 	void *data;