openframeworks / openframeworks/openFrameworks
Multiple audio inputs on IOS soundstream
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
I just find out you cannot set 2 audio inputs (stereo line in for example) on the iphone, as well on the simulator. There are some devices that allow the iphone to receveie more than 1 input, for example the one I'm trying (Line 6, mobile in).
When you use the function all works as it should:
//ofSoundStreamSetup(0, 1, this, 44100, 2048, 1);
If you use this one, no audio input detected:
//ofSoundStreamSetup(0, 2, this, 44100, 2048, 1);
Seems like 2 years ago something similar happened on iOS 4.3:
https://github.com/openframeworks/openFrameworks/pull/893
Thank you everyone, and sorry if I didn't write down something important information, it's the first time I write here...
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 with the ofSoundStreamSetup calls shown in the issue and reproduce the difference between one and two audio inputs on an iPhone or simulator. Review the linked openFrameworks pull request #893 for related iOS audio handling. Done means two supported inputs are detected and the existing single-input case continues to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios
- Domain
- audio-video-rtc, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100