SDL audio driver

This commit is contained in:
elasota
2020-09-28 09:58:19 -04:00
parent 2400d68aeb
commit 9cb60af2b3
15 changed files with 667 additions and 8 deletions

View File

@@ -6,6 +6,12 @@
#define GP_IS_CPP11 0
#endif
#ifdef _MSC_VER
#define GP_ALIGNED(n) __declspec(align(n))
#else
#define GP_ALIGNED(n) __attribute__((aligned(n)))
#endif
#if GP_IS_CPP11
#define GP_DELETED = delete
#define GP_STATIC_ASSERT(n) static_assert((n), "Static assert failed: " #n)