ncannasse 10 anni fa
parent
commit
1d92b50b8d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      hxd/res/Sound.hx

+ 1 - 1
hxd/res/Sound.hx

@@ -104,7 +104,7 @@ class Sound extends Resource {
 		var MAGIC_DELAY = 2257;
 		var position = bytesPosition;
 		while( true ) {
-			var size = BUFFER_SIZE - (out.position >> 3);
+			var size = BUFFER_SIZE - ((out.position >> 3) : Int);
 			if( size == 0 ) break;
 			if( position + size >= mp3SampleCount ) {
 				var read = mp3SampleCount - position;