add sdl2_mixer test

This commit is contained in:
alexey.lysiuk 2022-09-20 13:26:39 +03:00
parent 28ff37f52a
commit 16bcf27a94

11
test/sdl2_mixer.cpp Normal file
View file

@ -0,0 +1,11 @@
#include <SDL_mixer.h>
int main()
{
AEDI_EXPECT(Mix_Init(0) == 0);
AEDI_EXPECT(Mix_OpenAudio(48000, AUDIO_S16SYS, 2, 2048) == 0);
Mix_CloseAudio();
Mix_Quit();
return 0;
}