--- uae/src/include/gensound.h 2018/04/24 16:58:50 1.1.1.6 +++ uae/src/include/gensound.h 2018/04/24 17:17:05 1.1.1.7 @@ -10,11 +10,8 @@ extern int sound_available; extern void (*sample_handler) (void); -/* sample_evtime is in normal Amiga cycles; scaled_sample_evtime is in our - event cycles. scaled_sample_evtime_ok is set to 1 by init_sound if the - port understands scaled_sample_evtime and set it to something sensible. */ -extern unsigned long sample_evtime, scaled_sample_evtime; -extern int scaled_sample_evtime_ok; + +extern unsigned int obtainedfreq; /* Determine if we can produce any sound at all. This can be only a guess; * if unsure, say yes. Any call to init_sound may change the value. */ @@ -23,15 +20,9 @@ extern int setup_sound (void); extern int init_sound (void); extern void close_sound (void); +extern void switch_audio_interpol (void); + extern void sample16_handler (void); -extern void sample16i_rh_handler (void); -extern void sample16i_crux_handler (void); -extern void sample8_handler (void); extern void sample16s_handler (void); -extern void sample16si_rh_handler (void); -extern void sample16si_crux_handler (void); -extern void sample8s_handler (void); -extern void sample_ulaw_handler (void); extern void init_sound_table16 (void); -extern void init_sound_table8 (void);