Re: Streaming Graph to file without a sound
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