shader sync toimii

This commit is contained in:
2025-06-24 15:54:17 +03:00
parent 47cb2c965f
commit 134a85111e
11 changed files with 992 additions and 791 deletions

View File

@ -48,10 +48,15 @@ static DEVMODE screenSettings = {
#if USE_AUDIO
#include <mmsystem.h>
#include <mmreg.h>
// this file is auto generated by sointu
#include "sointu/song.h"
#pragma bss_seg(".syncbuf")
extern "C" {
int _fltused = 1;
float syncBuf[SU_SYNCBUFFER_LENGTH+1];
}
#pragma data_seg(".sointuout")
static SUsample lpSoundBuffer[(int)SU_LENGTH_IN_SAMPLES * 2];
static HWAVEOUT hWaveOut;