aboutsummaryrefslogtreecommitdiff
path: root/sound/softsynth
diff options
context:
space:
mode:
Diffstat (limited to 'sound/softsynth')
-rw-r--r--sound/softsynth/mt32/mt32_file.h2
-rw-r--r--sound/softsynth/mt32/tables.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/sound/softsynth/mt32/mt32_file.h b/sound/softsynth/mt32/mt32_file.h
index 7ebb6449b6..c0fd050e18 100644
--- a/sound/softsynth/mt32/mt32_file.h
+++ b/sound/softsynth/mt32/mt32_file.h
@@ -58,7 +58,7 @@ public:
bool readLine(char *in, size_t size);
bool readBit8u(Bit8u *in);
size_t write(const void *out, size_t size);
- bool writeBit8u(unsigned char out);
+ bool writeBit8u(Bit8u out);
bool isEOF();
};
diff --git a/sound/softsynth/mt32/tables.h b/sound/softsynth/mt32/tables.h
index 2858716587..d9af5114b2 100644
--- a/sound/softsynth/mt32/tables.h
+++ b/sound/softsynth/mt32/tables.h
@@ -74,7 +74,7 @@ class Tables {
void initMT32ConstantTables(Synth *synth);
static Bit16s clampWF(Synth *synth, const char *n, float ampVal, double input);
static File *initWave(Synth *synth, NoteLookup *noteLookup, float ampsize, float div2, File *file);
- bool initNotes(Synth *synth, PCMWaveEntry pcmWaves[128], float rate, float tuning);
+ bool initNotes(Synth *synth, PCMWaveEntry *pcmWaves, float rate, float tuning);
void initEnvelopes(float sampleRate);
void initFiltCoeff(float samplerate);
public:
@@ -106,8 +106,8 @@ public:
KeyLookup keyLookups[97];
Tables();
- bool init(Synth *synth, PCMWaveEntry pcmWaves[128], float sampleRate, float masterTune);
- File *initNote(Synth *synth, NoteLookup *noteLookup, float note, float rate, float tuning, PCMWaveEntry pcmWaves[128], File *file);
+ bool init(Synth *synth, PCMWaveEntry *pcmWaves, float sampleRate, float masterTune);
+ File *initNote(Synth *synth, NoteLookup *noteLookup, float note, float rate, float tuning, PCMWaveEntry *pcmWaves, File *file);
void freeNotes();
};