problems with input signal
problems with input signal
- Subject: problems with input signal
- From: angel noguera camara <email@hidden>
- Date: Tue, 23 Mar 2010 00:14:20 +0100
Hello,
Does anybody tell me if there's any overlap or something like that in the input signal of the Audio Unit(that is, const Float32 *inSourceP)? I'm having problems because I don't receive a correct input signal. I'm not sure if I have to use stereo or mono signals because I don't understand at all this comments of the provided code:
while (nSampleFrames-- > 0)
{
Float32 inputSample = *sourceP;
//The current (version 2) AudioUnit specification *requires*
//non-interleaved format for all inputs and outputs. Therefore inNumChannels is always 1
sourceP += inNumChannels; // advance to next frame (e.g. if stereo, we're advancing 2 samples);
// we're only processing one of an arbitrary number of interleaved channels
destP += inNumChannels;
}
Regards
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden