• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
problems with input signal
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Only seeing apple aufx AudioUnits
  • Next by Date: Remote AU Slots
  • Previous by thread: Re: AudioFileWriteBytes() fails with error code -40
  • Next by thread: Remote AU Slots
  • Index(es):
    • Date
    • Thread