add_subdirectory(pdcurses)
add_subdirectory(speex)
+add_subdirectory(cfgforsf)
add_subdirectory(interface)
add_subdirectory(libarc)
add_subdirectory(libunimod)
--- /dev/null
+
+add_definitions(-DCFG_FOR_SF)
+
+add_executable(
+ cfgforsf
+
+ ../interface/dumb_c.c
+ ../timidity/common.c
+ ../timidity/controls.c
+ ../timidity/envelope.c
+ ../timidity/filter.c
+ ../timidity/freq.c
+ ../timidity/instrum.c
+ ../timidity/int_synth.c
+ ../timidity/mt19937ar.c
+ ../timidity/myini.c
+ ../timidity/quantity.c
+ ../timidity/resample.c
+ ../timidity/sbkconv.c
+ ../timidity/sffile.c
+ ../timidity/sfitem.c
+ ../timidity/smplfile.c
+ ../timidity/sndfont.c
+ ../timidity/tables.c
+ ../timidity/version.c
+
+ ../timidity/common.h
+ ../timidity/controls.h
+ ../timidity/envelope.h
+ ../timidity/filter.h
+ ../timidity/freq.h
+ ../timidity/instrum.h
+ ../timidity/int_synth.h
+ ../timidity/mt19937ar.h
+ ../timidity/myini.h
+ ../timidity/output.h
+ ../timidity/playmidi.h
+ ../timidity/quantity.h
+ ../timidity/readmidi.h
+ ../timidity/resample.h
+ ../timidity/sffile.h
+ ../timidity/sfitem.h
+ ../timidity/sflayer.h
+ ../timidity/tables.h
+ ../timidity/timidity.h
+ ../timidity/wrd.h
+ ../utils/mblock.h
+ ../utils/nkflib.h
+ ../utils/strtab.h
+ ../utils/support.h
+
+ $<TARGET_OBJECTS:libarc>
+ $<TARGET_OBJECTS:utils>
+)
+
+target_link_libraries(cfgforsf ws2_32)
NULL
};
PlayMode *play_mode = &dpm;
+int free_instruments_afterwards = 1;
+int compute_buffer_size;
#ifndef CFG_FOR_SF_SUPPORT_FFT
int32 freq_table[1];
FLOAT_T bend_fine[1];
int check_apply_control(void) { return 0; } // not pass
int dumb_pass_playing_list(int number_of_files, char *list_of_files[]) { return 0; }
void recompute_freq(int v) { } // not pass
-Instrument *extract_scc_file(int preset) { return 0; } // not pass
-Instrument *extract_mms_file(int preset) { return 0; } // not pass
int32 control_ratio = 0;
int reduce_quality_flag = 0;
double div_playmode_rate = 1.0 / 44100;