--- uae/src/sd-solaris/sound.c 2018/04/24 16:42:24 1.1.1.2 +++ uae/src/sd-solaris/sound.c 2018/04/24 17:16:55 1.1.1.6 @@ -1,17 +1,17 @@ - /* + /* * UAE - The Un*x Amiga Emulator - * + * * Support for Solaris sound - * + * * Copyright 1996, 1997 Manfred Thole */ #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" @@ -80,7 +80,7 @@ int init_sound (void) fprintf(stderr, "Can't use sample rate %d with %d bits, %s!\n", rate, dspbits, (dspbits ==8) ? "ulaw" : "linear"); return 0; } - sample_evtime = (long)maxhpos * maxvpos * 50 / rate; + obtained_freq = rate; init_sound_table16 ();