.xm playback

This commit is contained in:
veclavtalica
2024-07-08 16:58:23 +03:00
parent febe3310aa
commit 0eb851e7bf
3 changed files with 111 additions and 28 deletions

View File

@ -7,6 +7,7 @@
#define STB_VORBIS_HEADER_ONLY
#include <stb_vorbis.c>
#include <xm.h>
#include <stdbool.h>
#include <stdint.h>
@ -27,6 +28,10 @@ union audio_context {
int frequency;
uint8_t channel_count;
} vorbis;
struct {
xm_context_t *handle;
} xm;
};