openframeworks / openframeworks/openFrameworks
ofSoundStreamSettings doesn't load setOutListener(this) by default
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
as per conversation on slack docs_ofbook with @arturoc
currently just this:
ofSoundStreamSettings s;
s.numOutputChannels = 2;
ofSoundStreamSetup(s);
doesn't generate any sound. I had to call:
ofSoundStreamSettings s;
s.setOutListener(this);
s.numOutputChannels = 2;
ofSoundStreamSetup(s);
Without calling setOutListener, it should auto add the current app
(I'm having this issue with master on OS X 10.11.3)
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
Start at the ofSoundStreamSetup entry point and compare the two ofSoundStreamSettings snippets, focusing on how the output listener is selected. Done means configuring output channels without an explicit setOutListener(this) call produces sound through the current app, with behavior checked on the affected platform.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100