2026-05-25 12:39:31 +09:00
|
|
|
#ifndef __FISHBONE_MACHDEP_H__
|
|
|
|
|
#define __FISHBONE_MACHDEP_H__
|
|
|
|
|
|
|
|
|
|
#include <vector>
|
2026-05-27 23:51:37 +09:00
|
|
|
#include <string>
|
|
|
|
|
#include <fstream>
|
2026-05-28 18:04:14 +02:00
|
|
|
#include <functional>
|
2026-05-27 23:51:37 +09:00
|
|
|
|
|
|
|
|
#include <cstdio>
|
2026-05-28 17:22:30 +02:00
|
|
|
#include <cstring>
|
2026-05-28 14:07:42 +09:00
|
|
|
#include <cmath>
|
2026-05-25 12:39:31 +09:00
|
|
|
|
2026-05-27 16:03:38 +09:00
|
|
|
#include <fishbone/config.h>
|
|
|
|
|
|
|
|
|
|
#ifdef _FISHBONE
|
|
|
|
|
#if defined(FISHBONE_AUDIO_USE_SDL2) || defined(FISHBONE_WINDOW_USE_SDL2) || defined(FISHBONE_THREAD_USE_SDL2)
|
|
|
|
|
#include <SDL.h>
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#define STB_VORBIS_HEADER_ONLY
|
2026-05-27 23:51:37 +09:00
|
|
|
#include <xmp.h>
|
2026-05-27 16:03:38 +09:00
|
|
|
#include <dr_mp3.h>
|
|
|
|
|
#include <dr_wav.h>
|
|
|
|
|
#include <dr_flac.h>
|
|
|
|
|
#include <stb_vorbis.c>
|
|
|
|
|
#endif
|
|
|
|
|
|
2026-05-25 12:39:31 +09:00
|
|
|
#endif
|