mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-21 11:31:07 +00:00
add sdl2_mixer test
This commit is contained in:
parent
28ff37f52a
commit
16bcf27a94
1 changed files with 11 additions and 0 deletions
11
test/sdl2_mixer.cpp
Normal file
11
test/sdl2_mixer.cpp
Normal 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;
|
||||||
|
}
|
Loading…
Reference in a new issue