AEAudioFileRecorderModule record all of audio from output stack.
Is there a way to record the only coming from built-in mic. When Built-in speaker is playing? (When other players are running)
My render order :
...
if ( THIS->_inputEnabled ) {// activate when user press the record button
// Add audio input
AEModuleProcess(input, context);
if ( THIS->_playingThroughSpeaker == NO ) {
//if headset is plugged in, user will be monitoring input data
AERenderContextOutput(context, 1);
if ( recorder ) {
AEModuleProcess(recorder, context);
}
}else{
//user record via device's built mic ( players module is running)
if ( recorder ) {
AEModuleProcess(recorder, context);
}
}
}
AEModuleProcess(THIS.mixer, context);
AERenderContextOutput(context, 1);
....
Is there any idea of how to configure my render process? Or is it possible?