zdoom-macos-deps/test/sdl2_mixer.cpp

12 lines
194 B
C++
Raw Normal View History

2022-09-20 10:26:39 +00:00
#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;
}