openframeworks / openframeworks/openFrameworks

Multiple audio inputs on IOS soundstream

Open
#2,703 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

addon bug iOS
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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.