• 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
exceptions to using RenderCallback
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

exceptions to using RenderCallback


  • Subject: exceptions to using RenderCallback
  • From: Marcin Rakowski <email@hidden>
  • Date: Wed, 20 Jul 2016 10:31:47 +0000

Hi, I have a graph in which two separate AudioFilePlayer AUs are feediing into a Mixer unit that then outputs to Output unit. It works fine.

Then I set up a render callback on the Mixer unit, but it never gets called.

    AURenderCallbackStruct input;

    input.inputProc = SineWaveRenderProc;

    input.inputProcRefCon = &mixerCallback;

    CheckError(AudioUnitSetProperty(mixerUnit,

                                    kAudioUnitProperty_SetRenderCallback,

                                    kAudioUnitScope_Output,

                                    0,

                                    &input,

                                    sizeof(input)),

               "AudioUnitSetProperty failed");


Is this expected behaviour? The mixer is receiving samples on both inputs. Is there a way to switch where the unit is pulling data from, ie. inputs or RenderCallback?

--

Marcin
http://google.com/+MarcinRakowskiConnect
_____________________________________
"There are many paths, but only one journey."

 _______________________________________________
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: kAppleSoftwareAudioCodecManufacturer not on Mac AudioToolbox SDK 10.11
  • Next by Date: Re: exceptions to using RenderCallback
  • Previous by thread: kAppleSoftwareAudioCodecManufacturer not on Mac AudioToolbox SDK 10.11
  • Next by thread: Re: exceptions to using RenderCallback
  • Index(es):
    • Date
    • Thread