From 16bcf27a949aa14b21cfab87e2dce784b5d0da79 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Tue, 20 Sep 2022 13:26:39 +0300 Subject: [PATCH] add sdl2_mixer test --- test/sdl2_mixer.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/sdl2_mixer.cpp diff --git a/test/sdl2_mixer.cpp b/test/sdl2_mixer.cpp new file mode 100644 index 00000000..17c7ce1c --- /dev/null +++ b/test/sdl2_mixer.cpp @@ -0,0 +1,11 @@ +#include + +int main() +{ + AEDI_EXPECT(Mix_Init(0) == 0); + AEDI_EXPECT(Mix_OpenAudio(48000, AUDIO_S16SYS, 2, 2048) == 0); + Mix_CloseAudio(); + Mix_Quit(); + + return 0; +}