Commit 993828b6 authored by Ilya Prokhorov's avatar Ilya Prokhorov

Play sound implementation

parent 77a6fd25
......@@ -47,7 +47,9 @@ void Sound::play() {
#ifndef __EMSCRIPTEN__
if (chunk) {
if (Mix_PlayChannel(-1, chunk, 0)==-1) {
printf("Mix_PlayChannel: %s\n",Mix_GetError());
}
}
#endif
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment