Explorar el Código

print warning when volume>1 on hlopenal

ncannasse hace 7 años
padre
commit
c20722556b
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      hxd/snd/Manager.hx

+ 3 - 0
hxd/snd/Manager.hx

@@ -383,6 +383,9 @@ class Manager {
 			if (s.volume != v) {
 				s.volume = v;
 				driver.setSourceVolume(s.handle, v);
+				#if hlopenal
+				if( v > 1 ) Sys.println("Could not set volume " + v + " on " + c.sound);
+				#end
 			}
 
 			if (!s.playing) {