Browse Source

fix fade_beats defined as int in audio_stream_interactive.h

PhairZ 11 tháng trước cách đây
mục cha
commit
8c4a9ad626
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      modules/interactive_music/audio_stream_interactive.h

+ 1 - 1
modules/interactive_music/audio_stream_interactive.h

@@ -100,7 +100,7 @@ private:
 		TransitionFromTime from_time = TRANSITION_FROM_TIME_NEXT_BEAT;
 		TransitionToTime to_time = TRANSITION_TO_TIME_START;
 		FadeMode fade_mode = FADE_AUTOMATIC;
-		int fade_beats = 1;
+		float fade_beats = 1;
 		bool use_filler_clip = false;
 		int filler_clip = 0;
 		bool hold_previous = false;