diff options
author | kdx <kikoodx@paranoici.org> | 2023-08-30 03:14:11 +0200 |
---|---|---|
committer | kdx <kikoodx@paranoici.org> | 2023-08-30 03:23:43 +0200 |
commit | ae4af8c1f825d904eaea3be5cdf02e097e30a30f (patch) | |
tree | 1fe909e14991cce9d50f07ba4066940ce7424282 /headers | |
parent | ac6731996d2137d44d60acf4e41f903081a57512 (diff) | |
download | tzr-ae4af8c1f825d904eaea3be5cdf02e097e30a30f.tar.gz |
soloud wav playback
Diffstat (limited to 'headers')
-rw-r--r-- | headers/TZR_types.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/headers/TZR_types.h b/headers/TZR_types.h index 58aee45..f796930 100644 --- a/headers/TZR_types.h +++ b/headers/TZR_types.h @@ -93,9 +93,15 @@ struct TZR_Image { SDL_Texture *ptr; }; +#ifdef TZR_SOLOUD +struct TZR_Sound { + Wav *ptr; +}; +#else struct TZR_Sound { Mix_Chunk *ptr; }; +#endif struct TZR_Resource { TZR_ResourceType type; |