docs(v3): usage of `loadFromSamples` is wrong
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 52/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- documentation
Research direction
Start with the v3 audio example docs at the linked “Sound or music” section and compare its call with the linked sf::SoundBuffer::loadFromSamples documentation. Update the example to pass all five required arguments and explain the fifth argument there; done means the example compiles and the argument is documented.
Written by the indexing model from the issue text.
Description
sf::SoundBuffer::loadFromSamples usage in the v3 audio example docs is wrong:
One must provide loadFromSamples with 5 arguments, the docs shows a call with 4 arguments, which does not compile due to 5th not having a default value.
Example error message upon removing the 5th argument:
error C2660: 'sf::SoundBuffer::loadFromSamples': function does not take 4 arguments
Explanation of this argument should also be expected to be here.
Thanks for the wonderful work!
- Dominant language
- PHP
- Stars
- 32
- Forks
- 49
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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 SFML/SFML-Website
-
bug good first issue tutorial
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
SFML/SFML-Website#286 ·
-
Include paths in per-class docs pages have "D:/private/SFML/SFML/include/" in #include directive. Open
Difficulty 3/5 1-2 days Newbie friendliness 55/100
SFML/SFML-Website#285 · 2 comments ·
-
enhancement help wanted tutorial
Difficulty 4/5 3-5 days Newbie friendliness 35/100
SFML/SFML-Website#278 ·
-
help wanted tutorial
Difficulty 3/5 1-2 days Newbie friendliness 45/100
SFML/SFML-Website#273 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
SFML/SFML-Website#264 ·
All issues in SFML/SFML-Website
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
getgrav/grav-plugin-api#45 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
RSS-Bridge/rss-bridge#5098 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
phingofficial/phing#2025 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
silverstripe/developer-docs#911 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100