openframeworks / openframeworks/openFrameworks
ofSoundPlayer load() hangs on linux when streaming is true
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
If the ofSoundPlayer::load() method is called with streaming == false (the default) everything works as expected, but setting the streaming option to true causes the application to hang badly, it stops responding and has to be killed.
The issue can be reproduced easily with the soundPlayerExample in examples directory, just adding “, true” to the load call in setup()
Test conditions: OS is Ubuntu 18.04, OF version 0.10.0
Contributor 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.
Research direction
Reproduce the hang in the soundPlayerExample by changing the setup() load call to pass true for streaming, using the Ubuntu 18.04 conditions described. Trace the ofSoundPlayer::load() path for streaming playback and compare it with the default non-streaming path. Done means the example remains responsive and streaming loads successfully on Linux.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100