diff options
author | Eugene Sandulenko | 2004-10-24 13:03:42 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2004-10-24 13:03:42 +0000 |
commit | 7b8469312553d20999e4ae50566716f6ccb7a7a6 (patch) | |
tree | 1e7860e6e3474eaaa6d51c1caa9ab3a5ec4dadc6 /backends/midi/mt32/synth.h | |
parent | dc89fe8e514227de42cf6573d5df1c1089b15314 (diff) | |
download | scummvm-rg350-7b8469312553d20999e4ae50566716f6ccb7a7a6.tar.gz scummvm-rg350-7b8469312553d20999e4ae50566716f6ccb7a7a6.tar.bz2 scummvm-rg350-7b8469312553d20999e4ae50566716f6ccb7a7a6.zip |
o Check size of waveforms.raw so output rate could be adjusted
o Eliminate rom_path, as we use our File class
svn-id: r15679
Diffstat (limited to 'backends/midi/mt32/synth.h')
-rw-r--r-- | backends/midi/mt32/synth.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/backends/midi/mt32/synth.h b/backends/midi/mt32/synth.h index 106fc7f020..da2c685d34 100644 --- a/backends/midi/mt32/synth.h +++ b/backends/midi/mt32/synth.h @@ -85,7 +85,7 @@ typedef void (*recalcStatusCallback)(int percDone); // sampling rate. The callback routine provides interactivity to let the user know what // percentage is complete in regenerating the waveforms. When a NULL pointer is used as the // callback routine, no status is reported. -bool RecalcWaveforms(char * baseDir, int sampRate, recalcStatusCallback callBack); +bool RecalcWaveforms(int sampRate, recalcStatusCallback callBack); typedef float (*iir_filter_type)(float input,float *hist1_ptr, float *coef_ptr, int revLevel); extern iir_filter_type usefilter; @@ -125,16 +125,15 @@ private: bool isOpen; SynthProperties myProp; - bool InitTables(const char * baseDir); + bool InitTables(); public: CSynthMT32() : isOpen(false) {}; - // Used to initialized the MT-32. The baseDir parameter points to the location in the - // filesystem where the ROM and data files are located. The second parameter specifies + // Used to initialized the MT-32. The useProp parameter specifies // properties for the synthesizer, as outlined in the structure above. // Returns TRUE if initialization was sucessful, otherwise returns FALSE. - bool ClassicOpen(const char *baseDir, SynthProperties useProp); + bool ClassicOpen(SynthProperties useProp); // Closes the MT-32 and deallocates any memory used by the synthesizer void Close(void); |