--- uae/src/od-pOS/sound.c 2018/04/24 16:40:30 1.1.1.1 +++ uae/src/od-pOS/sound.c 2018/04/24 16:42:48 1.1.1.2 @@ -16,7 +16,6 @@ #include "audio.h" #include "gensound.h" #include "sounddep/sound.h" -#include "events.h" #include #include @@ -127,7 +126,7 @@ int init_sound (void) sample_evtime = (long)maxhpos * maxvpos * 50 / rate; init_sound_table8 (); - eventtab[ev_sample].handler = sample8_handler; + sample_handler = sample8_handler; fprintf(stderr, "Sound driver found and configured for %d bits " "at %d Hz, buffer is %d bytes (%s)\n",