|
|
|
|
|
|
|
|
|
|
|
|
|
|
// copy the current phoneme table into here |
|
|
// copy the current phoneme table into here |
|
|
int n_phoneme_tab; |
|
|
int n_phoneme_tab; |
|
|
int current_phoneme_table; |
|
|
|
|
|
|
|
|
static int current_phoneme_table; |
|
|
PHONEME_TAB *phoneme_tab[N_PHONEME_TAB]; |
|
|
PHONEME_TAB *phoneme_tab[N_PHONEME_TAB]; |
|
|
|
|
|
|
|
|
static unsigned short *phoneme_index = NULL; |
|
|
static unsigned short *phoneme_index = NULL; |
|
|
|
|
|
|
|
|
phoneme_index = NULL; |
|
|
phoneme_index = NULL; |
|
|
phondata_ptr = NULL; |
|
|
phondata_ptr = NULL; |
|
|
tunes = NULL; |
|
|
tunes = NULL; |
|
|
|
|
|
current_phoneme_table = -1; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
int PhonemeCode(unsigned int mnem) |
|
|
int PhonemeCode(unsigned int mnem) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void SelectPhonemeTable(int number) |
|
|
void SelectPhonemeTable(int number) |
|
|
{ |
|
|
{ |
|
|
|
|
|
if (current_phoneme_table == number) return; |
|
|
n_phoneme_tab = 0; |
|
|
n_phoneme_tab = 0; |
|
|
MAKE_MEM_UNDEFINED(&phoneme_tab, sizeof(phoneme_tab)); |
|
|
MAKE_MEM_UNDEFINED(&phoneme_tab, sizeof(phoneme_tab)); |
|
|
SetUpPhonemeTable(number); // recursively for included phoneme tables |
|
|
SetUpPhonemeTable(number); // recursively for included phoneme tables |