Skip to content

Lower min playback speed to 0.25x and extract constants#186

Merged
kdroidFilter merged 1 commit into
masterfrom
fix/playback-speed-range-and-dry
Apr 10, 2026
Merged

Lower min playback speed to 0.25x and extract constants#186
kdroidFilter merged 1 commit into
masterfrom
fix/playback-speed-range-and-dry

Conversation

@kdroidFilter

Copy link
Copy Markdown
Owner

Summary

  • Lower minimum playback speed from 0.5x to 0.25x as requested in Playback Speed limitation (0.5f..2.0f) #110
  • Extract MIN_PLAYBACK_SPEED / MAX_PLAYBACK_SPEED constants into VideoPlayerState.Companion to eliminate duplicated magic numbers across all 6 platform implementations (Android, iOS, Linux, Mac, Windows, Web)

Test plan

  • Verify playback speed can be set to 0.25x on each platform
  • Verify playback speed is still clamped at 2.0x max
  • Verify normal playback (1.0x) is unaffected

Closes #110

Extract MIN_PLAYBACK_SPEED and MAX_PLAYBACK_SPEED constants into
VideoPlayerState companion to replace hardcoded magic numbers across
all 6 platform implementations.

Closes #110
@kdroidFilter kdroidFilter merged commit 3509728 into master Apr 10, 2026
1 of 2 checks passed
@kdroidFilter kdroidFilter deleted the fix/playback-speed-range-and-dry branch April 11, 2026 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Playback Speed limitation (0.5f..2.0f)

1 participant