openframeworks/openFrameworks — Issue #890: iOS sound input is single channel only
Author: damiannz
Created: 2012-02-03 16:49:34+00:00
State: open

ofxiPhoneSoundStream is assuming the input will only ever be mono (1 channel).

in /libs/openFrameworks/sound/ofxiPhoneSoundStream.mm, in recordingCallback(), the actual number of channels is being overwritten;
also in :setup, the malloc of sampleBuffer `sampleBuffer = (short int*) malloc(MAX_BUFFER_SIZE*2);` is ignoring the number of inChannels.