openframeworks / openframeworks/openFrameworks

ofSoundPlayer load() hangs on linux when streaming is true

Open
#6,154 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.