Skip to content

Conversation

@boxrocket6803
Copy link

Sound preview playback previously always started at 0, now it starts at the playhead position.

2025-12-12.16-00-15.mp4

Also added a check to only increment time while actually playing, previously upon reaching the end of a file with looping disabled it would reset the playhead position then add an extra RealTime.SmoothDelta. When playing the file again the start would be cut off slightly. Now it correctly parks itself at 0.

@boxrocket6803 boxrocket6803 marked this pull request as draft December 12, 2025 23:12
@boxrocket6803 boxrocket6803 changed the title Fix sound preview playback Sound preview playback fixes Dec 12, 2025
@boxrocket6803 boxrocket6803 changed the title Sound preview playback fixes Sound preview misc fixes Dec 12, 2025
@boxrocket6803
Copy link
Author

Was gonna just fix the one thing but kept seeing other stuff and figured it'd be more convenient for all involved to do a larger pr instead of a bunch of smaller ones.

before

2025-12-12.19-46-22.mp4

after

2025-12-12.19-47-38.mp4

@boxrocket6803 boxrocket6803 marked this pull request as ready for review December 13, 2025 01:56
@garrynewman garrynewman added the triaged triaged pull-requests are replicated on the internal sbox repo label Dec 22, 2025
@sboxbot sboxbot added the accepted this pull request was accepted, hurrah! label Dec 22, 2025
@sboxbot
Copy link
Contributor

sboxbot commented Dec 22, 2025

This PR has been merged upstream.

@sboxbot sboxbot closed this Dec 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accepted this pull request was accepted, hurrah! triaged triaged pull-requests are replicated on the internal sbox repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants