openframeworks / openframeworks/openFrameworks
iOS example audioInputExample: issue with audioIn / ofSoundPlayer order
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
a bit more investigation: if the ofSoundStreamSetup() comes after the sound.load(), the microphone "wins" (audio input / no sound player). so it seems there is a conflict in the AVSession setups -- probably unrelated to the memory management, so perhaps this should be merged, and figure out the conflict in another PR?
Originally posted by @artificiel in https://github.com/openframeworks/openFrameworks/issues/7283#issuecomment-1409743155
It seems something in soundPlayer changes the way ofSoundStream behaves.
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 by reproducing the iOS example with ofSoundStreamSetup() before and after sound.load(), then inspect how the AVSession setup affects ofSoundStream and soundPlayer. Done means audio input and sound playback both work without the ordering conflict.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, ios
- Domain
- audio-video-rtc, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100