• 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
Re: Streaming Graph to file without a sound
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Streaming Graph to file without a sound


  • Subject: Re: Streaming Graph to file without a sound
  • From: Brian Whitman <email@hidden>
  • Date: Mon, 19 Jun 2006 16:41:45 -0400


On Jun 19, 2006, at 3:00 PM, William Stewart wrote:

Brian,

I'm not sure what the segfault is - I've never heard of this before. The render code is pretty straight forward:
outputBuffer.Prepare();
AudioUnitRenderActionFlags actionFlags = 0;
require_noerr (result = AudioUnitRender (outputUnit, &actionFlags, &tStamp, 0, numFrames, outputBuffer.ABL()), fail);


and actionFlags are not being used after the call to AudioUnitRender.



It's in the render callback that I use. It's some issue with ExtAudioFileWriteAsync. Is the kAudioUnitRenderAction_OutputIsSilence is set on PostRender but not on PreRender, the call to the writing function segfaults. This happens a bit with our code. It's very possible we have a problem upstream. To get around it I explicitly check for those silence flags.


_______________________________________________ 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
  • Follow-Ups:
    • Re: Streaming Graph to file without a sound
      • From: William Stewart <email@hidden>
References: 
 >Streaming Graph to file without a sound (From: Craig Hopson <email@hidden>)
 >Re: Streaming Graph to file without a sound (From: Brian Whitman <email@hidden>)
 >Re: Streaming Graph to file without a sound (From: William Stewart <email@hidden>)

  • Prev by Date: Re: How to combine Built-In audio devices?
  • Next by Date: AU instrument on top of complete MIDI synth
  • Previous by thread: Re: Streaming Graph to file without a sound
  • Next by thread: Re: Streaming Graph to file without a sound
  • Index(es):
    • Date
    • Thread