• 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
AUv3 Passthru
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AUv3 Passthru


  • Subject: AUv3 Passthru
  • From: Lucas Goossen <email@hidden>
  • Date: Thu, 21 Apr 2016 19:32:43 -0500

Shouldn't I be able to do the following to just create a passthru AUv3?
 

- (AUInternalRenderBlock)internalRenderBlock {
    // Capture in locals to avoid ObjC member lookups. If "self" is captured in render, we're doing it wrong. See sample code.

    

    return ^AUAudioUnitStatus(AudioUnitRenderActionFlags *actionFlags, const AudioTimeStamp *timestamp, AVAudioFrameCount frameCount, NSInteger outputBusNumber, AudioBufferList *outputData, const AURenderEvent *realtimeEventListHead, AURenderPullInputBlock pullInputBlock) {
        // Do event handling and signal processing here.
pullInputBlock(actionFlags, timestamp, frameCount, outputBusNumber, outputData);

        

        return noErr;
    };
}
 
Before 'pullInputBlock' I am able to see the buffers are all 0.0 samples and then after it has resonable audio samples.
 
I am able to connect from a host app with no complaints anywhere but still get silence.

 _______________________________________________
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: Is it possible to record a MusicPlayer piece to an audio file faster than real-time?
  • Next by Date: Re: Is it possible to record a MusicPlayer piece to an audio file faster than real-time?
  • Previous by thread: Re: AUAudioUnit (v3) in AUGraph?
  • Next by thread: Is it possible to have multiple scheduled playback events on a single AUAudioFilePlayer?
  • Index(es):
    • Date
    • Thread