--- uae/src/sd-solaris/sound.c 2018/04/24 17:04:09 1.1.1.4 +++ uae/src/sd-solaris/sound.c 2018/04/24 17:16:55 1.1.1.6 @@ -1,15 +1,14 @@ - /* + /* * 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" @@ -81,8 +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; } - scaled_sample_evtime = (unsigned long)MAXHPOS_PAL * MAXVPOS_PAL * VBLANK_HZ_PAL * CYCLE_UNIT / rate; - scaled_sample_evtime_ok = 1; + obtained_freq = rate; init_sound_table16 ();