summaryrefslogtreecommitdiff
path: root/core/multimedia/opieplayer/modplug/tables.cpp
authorkergoth <kergoth>2003-08-09 18:00:34 (UTC)
committer kergoth <kergoth>2003-08-09 18:00:34 (UTC)
commit7670c56f5952f7772e8fbab65e9233274e2a0564 (patch) (side-by-side diff)
tree10932f8976c76755b8edf2ab9397a6e53d95a13c /core/multimedia/opieplayer/modplug/tables.cpp
parent1ab4ca95e4d2cf24d32b38c9031cb6076351e730 (diff)
downloadopie-7670c56f5952f7772e8fbab65e9233274e2a0564.zip
opie-7670c56f5952f7772e8fbab65e9233274e2a0564.tar.gz
opie-7670c56f5952f7772e8fbab65e9233274e2a0564.tar.bz2
Merge from BRANCH_1_0
Diffstat (limited to 'core/multimedia/opieplayer/modplug/tables.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/multimedia/opieplayer/modplug/tables.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/multimedia/opieplayer/modplug/tables.cpp b/core/multimedia/opieplayer/modplug/tables.cpp
index e7198b2..baf4517 100644
--- a/core/multimedia/opieplayer/modplug/tables.cpp
+++ b/core/multimedia/opieplayer/modplug/tables.cpp
@@ -1,35 +1,34 @@
/*
* This program is free software; you can redistribute it and modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the license or (at your
* option) any later version.
*
* Authors: Olivier Lapicque <olivierl@jps.net>
*/
#include "stdafx.h"
-#include "sndfile.h"
#ifndef FASTSOUNDLIB
//#pragma data_seg(".tables")
#endif
extern const BYTE ImpulseTrackerPortaVolCmd[16];
const BYTE ImpulseTrackerPortaVolCmd[16] =
{
0x00, 0x01, 0x04, 0x08, 0x10, 0x20, 0x40, 0x60,
0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF
};
// Period table for Protracker octaves 0-5:
extern const WORD ProTrackerPeriodTable[6*12];
const WORD ProTrackerPeriodTable[6*12] =
{
1712,1616,1524,1440,1356,1280,1208,1140,1076,1016,960,907,
856,808,762,720,678,640,604,570,538,508,480,453,
428,404,381,360,339,320,302,285,269,254,240,226,
214,202,190,180,170,160,151,143,135,127,120,113,
107,101,95,90,85,80,75,71,67,63,60,56,
53,50,47,45,42,40,37,35,33,31,30,28
};