--- uae/src/od-dos/sound/sound.c 2018/04/24 16:43:59 1.1.1.2 +++ uae/src/od-dos/sound/sound.c 2018/04/24 17:04:30 1.1.1.4 @@ -6,6 +6,8 @@ * Copyright 1997, 1998 Gustavo Goedert */ +/****** This file is broken. The sample handlers have to go. ******/ + #include "sysconfig.h" #include "sysdeps.h" @@ -262,7 +264,7 @@ int init_sound (void) currprefs.sound_minbsiz = (currprefs.sound_minbsiz>>2)<<2; currprefs.sound_maxbsiz = sndbufsize; - sample_evtime = (long)maxhpos * maxvpos * 50 / rate; + sample_evtime = (long)MAXHPOS_PAL * MAXVPOS_PAL * VBLANK_HZ_PAL / rate; if (dspbits == 16) { init_sound_table16 ();