terrible!
authorhgn <hgodden00@gmail.com>
Mon, 29 May 2023 03:03:25 +0000 (04:03 +0100)
committerhgn <hgodden00@gmail.com>
Mon, 29 May 2023 03:03:25 +0000 (04:03 +0100)
vg_audio.h

index d28dd8ddec19338b1f229dcf8f76e177251965cb..4d203bf9c1aafae550af5dc158bac615b108ba7c 100644 (file)
@@ -80,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{