openframeworks/openFrameworks — pull request #893 by danomatika (2012-02-04 11:22:45+00:00)
Title: updated ios sound stream to handle multiple input channels

I noticed the ios sound stream is hard coded to use 1 input channel. As of iOS 4.3, the iPad is capable of using usb audio devices through a powered hub, so its desirable to be able to set a stereo input etc.

This request fixes #890. I tested in the simulator and on an iPad 2, both with external sound card and internals speakers/mic. A stereo in/out app works without any modifications (no notifications and sound stream restart required).

Also, this includes some code cleanup.