Player::try_seek docs are wrong about only blocking up to ~5ms
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 73/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- rust
- Domain
- documentation
Research direction
Read the try_seek() documentation in src/player.rs around line 230 alongside the periodic access implementation at lines 137–138 and the periodic_access() documentation in src/source/mod.rs around lines 547–558. Update the stated blocking time to account for playback speed, then check that the wording matches the documented access rate.
Written by the indexing model from the issue text.
Description
This is stated here:
https://github.com/RustAudio/rodio/blob/ee3c21f2f3d926110706a2780658d098831c1ed9/src/player.rs#L230
Which is referring to the periodic access here:
https://github.com/RustAudio/rodio/blob/ee3c21f2f3d926110706a2780658d098831c1ed9/src/player.rs#L137-L138
However, compare this to the documentation for periodic_access().:
https://github.com/RustAudio/rodio/blob/ee3c21f2f3d926110706a2780658d098831c1ed9/src/source/mod.rs#L547-L558
Since the access rate is based on playback speed, if I play my music file at half speed, try_seek() I could be waiting for the next access up to ~10ms (or even more for lower playback rates).
This is related to, but technically distinct from these other two seek issues I've found: #638 #876.
- Dominant language
- Rust
- Stars
- 2.5k
- Forks
- 338
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from RustAudio/rodio
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 67/100
-
Difficulty 4/5 3-5 days Newbie friendliness 46/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Choochmeque/tauri-plugin-webdriver#134 ·
Maintainers usually reply within 17 days
-
bug rust SDK & CLI & REST API
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
boxlite-ai/boxlite#3292 ·
Maintainers usually reply within 1 day
-
Android bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
anefzaoui/misterdownloadmanager#2516 ·
Maintainers usually reply within 1 day
-
editor ui
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
state:triage tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 89/100
agent8-cash/ethpayserver#731 ·
Maintainers usually reply within 1 day