From 30e23cc766d25fb3253f16a0ac93031a933bcd60 Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Sun, 10 Sep 2017 14:29:25 +0900 Subject: fmdsp-pacc: added everything except fft and levelmeter --- sdl/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sdl/main.c') diff --git a/sdl/main.c b/sdl/main.c index 01c2437..410ed88 100644 --- a/sdl/main.c +++ b/sdl/main.c @@ -51,7 +51,6 @@ static void openfile(const char *path) { g.fmfile = file; fmplayer_init_work_opna(&g.work, &g.ppz8, &g.opna, &g.timer, &g.adpcmram); fmplayer_file_load(&g.work, g.fmfile, 1); - fmdsp_pacc_set(g.fp, &g.work, &g.opna); SDL_UnlockAudioDevice(g.adev); SDL_PauseAudioDevice(g.adev, 0); } @@ -141,6 +140,7 @@ int main(int argc, char **argv) { SDL_Quit(); return 1; } + fmdsp_pacc_set(g.fp, &g.work, &g.opna); SDL_EventState(SDL_DROPFILE, SDL_ENABLE); -- cgit v1.2.3