animations MGF works

This commit is contained in:
Ondřej Novák 2025-01-29 19:57:25 +01:00
parent 4f9f985918
commit 2be84e406c
10 changed files with 224 additions and 293 deletions

View file

@ -1,6 +1,7 @@
#include "../platform.h"
#include <zvuk.h>
#include <thread>
void set_mixing_device(int mix_dev,int mix_freq,...) {
}
@ -67,7 +68,8 @@ void *PrepareVideoSound(int mixfreq, int buffsize) {
return 0;
}
char LoadNextVideoFrame(void *buffer, char *data, int size, short *xlat, short *accnums, int32_t *writepos) {
return 0;
std::this_thread::sleep_for(std::chrono::milliseconds(50));
return 1;
}
void DoneVideoSound(void *buffer) {