--- uae/src/sd-sgi/sound.c 2018/04/24 16:45:20 1.1.1.1 +++ uae/src/sd-sgi/sound.c 2018/04/24 17:17:12 1.1.1.5 @@ -1,17 +1,17 @@ - /* + /* * UAE - The Un*x Amiga Emulator - * + * * Support for the Silicon Graphics Audio Library (AL) - * + * * Copyright 1998 Ari Heikkinen */ #include "sysconfig.h" #include "sysdeps.h" -#include "config.h" #include "options.h" #include "memory.h" +#include "events.h" #include "custom.h" #include "audio.h" #include "gensound.h" @@ -112,7 +112,7 @@ int init_sound(void) return 0; } - sample_evtime = (long)maxhpos * maxvpos * 50 / rate; + obtained_freq = rate; sndbufpt = sndbuffer; if (width == AL_SAMPLE_16) {