2
0
Эх сурвалжийг харах

Make EmscriptenCore use SDLAudioInterface when PortAudio isn't available (pt.2)

Sang Hak Chun 9 жил өмнө
parent
commit
4ff6eecfbb

+ 3 - 1
src/core/PolyEmscriptenCore.cpp

@@ -135,7 +135,9 @@ EmscriptenCore::EmscriptenCore(PolycodeView *view, int _xRes, int _yRes, bool fu
 
 #ifndef NO_PAUDIO
 	services->getSoundManager()->setAudioInterface(new PAAudioInterface());
-#endif 
+#else
+	services->getSoundManager()->setAudioInterface(new SDLAudioInterface());
+#endif
 
 	lastMouseX = 0;
 	lastMouseY = 0;