This patch is part of a series of patches for speech-tools for Debian GNU/Linux, which primarily fix build errors with GCC 4.3 and newer. --- speech-tools-1.2.3.orig/speech_class/waveP.h +++ speech-tools-1.2.3/speech_class/waveP.h @@ -41,7 +41,7 @@ #include -/* The follow two (raw and ulaw) cannot be in the table as they cannot */ +/* The follow two (raw, alaw and ulaw) cannot be in the table as they cannot */ /* identify themselves from files (both are unheadered) */ enum EST_read_status load_wave_raw(EST_TokenStream &ts, short **data, int *num_samples, int *num_channels, int *word_size, int @@ -62,6 +62,15 @@ int sample_rate, enum EST_sample_type_t, int bo); +enum EST_read_status load_wave_alaw(EST_TokenStream &ts, short **data, int + *num_samples, int *num_channels, int *word_size, int + *sample_rate, enum EST_sample_type_t *sample_type, int *bo, int + offset, int length); +enum EST_write_status save_wave_alaw(FILE *fp, const short *data, int offset, + int length, int num_channels, + int sample_rate, + enum EST_sample_type_t, int bo); + enum EST_read_status load_wave_nist(EST_TokenStream &ts, short **data, int *num_samples, int *num_channels, int *word_size, int *sample_rate, enum EST_sample_type_t *sample_type, int *bo, int