shithub: battleship

Download patch

ref: fb4b4cbf8062bd0ebaedcd2b3aa6cd1112f35258
parent: afdfefd352f5b2ce4f3248f3581067e6496d0c38
author: rodri <rgl@antares-labs.eu>
date: Mon Oct 2 09:09:38 EDT 2023

get rid of unused wav structs from the mixer.

--- a/mixer.h
+++ b/mixer.h
@@ -18,29 +18,11 @@
 	AUDIO_EVENT_REWIND
 };
 
-typedef struct Wav Wav;
-typedef struct WavStream WavStream;
 typedef struct Pcm Pcm;
 typedef struct AudioEvent AudioEvent;
 typedef struct AudioSourceInfo AudioSourceInfo;
 typedef struct AudioSource AudioSource;
 typedef struct Mixer Mixer;
-
-struct Wav
-{
-	void *data;
-	int bitdepth;
-	int samplerate;
-	int channels;
-	int length;
-};
-
-struct WavStream
-{
-	Wav wav;
-	void *data;
-	int idx;
-};
 
 struct Pcm
 {