terrible!
[vg.git] / vg_audio.h
index 67cc3f100072d82a456c1ad89371bfb3245a17c0..4d203bf9c1aafae550af5dc158bac615b108ba7c 100644 (file)
@@ -16,9 +16,6 @@
 #include "vg/vg_profiler.h"
 #include "vg/vg_audio_synth_bird.h"
 
-#include <sys/time.h>
-#include <math.h>
-
 #ifdef __GNUC__
   #ifndef __clang__
     #pragma GCC push_options
@@ -83,10 +80,18 @@ typedef struct audio_channel audio_channel;
 typedef struct audio_lfo audio_lfo;
 
 struct audio_clip{
-   const char *path;
+   union {              /* TODO oof.. */
+      u64 _p64_;
+      const char *path;
+   };
+
    u32 flags;
    u32 size;
-   void *data;
+
+   union{ 
+      u64 _p64;
+      void *data;
+   };
 };
 
 static struct vg_audio_system{