Hi,
Even when shouting into the microphone of my iPhone5 I can’t get more than -15dB of volume from the RemoteIO or VoiceProcessingIO unit. Setup is RemoteIO(in)->MultiChannelMixer->RemoteIO(out). I have monitoring enabled on the mixer and am getting -15dB on both channels when screaming.
The volume on the mixer input is set to 1.0. The audio session has been set active.
The audio session category has been configured like so:
[self.audioSession setCategory:AVAudioSessionCategoryPlayAndRecord withOptions:AVAudioSessionCategoryOptionAllowBluetooth | AVAudioSessionCategoryOptionMixWithOthers | AVAudioSessionCategoryOptionDuckOthers error:&audioSessionError];
Here is my audio format description:
size_t bytesPerSample = sizeof(AudioUnitSampleType);
_stereoGraphStreamFormat.mFormatID = kAudioFormatLinearPCM; _stereoGraphStreamFormat.mFormatFlags = kAudioFormatFlagsAudioUnitCanonical; _stereoGraphStreamFormat.mBytesPerPacket = bytesPerSample; _stereoGraphStreamFormat.mFramesPerPacket = 1; _stereoGraphStreamFormat.mBytesPerFrame = bytesPerSample; _stereoGraphStreamFormat.mChannelsPerFrame = 2; _stereoGraphStreamFormat.mBitsPerChannel = 8 * bytesPerSample; _stereoGraphStreamFormat.mSampleRate = self.graphSampleRate; // 44100
Any ideas as to why the volume from the RemoteIO unit is so low? I have tried both with the internal microphone as well as several headsets.
Kind regards,
Anthony Myatt |