diff options
Diffstat (limited to 'editor/audio_stream_preview.cpp')
-rw-r--r-- | editor/audio_stream_preview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/audio_stream_preview.cpp b/editor/audio_stream_preview.cpp index f99025ad06..b84e58125e 100644 --- a/editor/audio_stream_preview.cpp +++ b/editor/audio_stream_preview.cpp @@ -76,7 +76,7 @@ float AudioStreamPreview::get_min(float p_time, float p_time_next) const { if (max == 0) { return 0; } - + int time_from = p_time / length * max; int time_to = p_time_next / length * max; time_from = CLAMP(time_from, 0, max - 1); |