aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2023-10-02 13:09:38 +0000
committerrodri <rgl@antares-labs.eu>2023-10-02 13:09:38 +0000
commitfb4b4cbf8062bd0ebaedcd2b3aa6cd1112f35258 (patch)
tree74be39594481ff02e4353409f9d3bcd97fc2b149
parentafdfefd352f5b2ce4f3248f3581067e6496d0c38 (diff)
downloadbattleship-fb4b4cbf8062bd0ebaedcd2b3aa6cd1112f35258.tar.gz
battleship-fb4b4cbf8062bd0ebaedcd2b3aa6cd1112f35258.tar.bz2
battleship-fb4b4cbf8062bd0ebaedcd2b3aa6cd1112f35258.zip
get rid of unused wav structs from the mixer.
-rw-r--r--mixer.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/mixer.h b/mixer.h
index ad81ed1..6645cdb 100644
--- a/mixer.h
+++ b/mixer.h
@@ -18,30 +18,12 @@ enum {
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
{
void *data;