diff mediaplayer.h @ 2290:c4980d89614b

Support WAVE files in media player
author Michael Pavone <pavone@retrodev.com>
date Sat, 04 Feb 2023 23:31:11 -0800
parents 92449b47cce8
children 789802d99629
line wrap: on
line diff
--- a/mediaplayer.h	Sat Feb 04 22:44:44 2023 -0800
+++ b/mediaplayer.h	Sat Feb 04 23:31:11 2023 -0800
@@ -4,6 +4,8 @@
 #include <stdint.h>
 #include "system.h"
 #include "vgm.h"
+#include "wave.h"
+#include "render_audio.h"
 
 typedef struct chip_info chip_info;
 typedef void (*chip_run_fun)(void *context, uint32_t cycle);
@@ -25,6 +27,8 @@
 	vgm_header          *vgm;
 	vgm_extended_header *vgm_ext;
 	data_block          *ym_seek_block;
+	wave_header         *wave;
+	audio_source        *audio;
 	chip_info           *chips;
 	uint32_t            num_chips;
 	uint32_t            current_offset;