Re: problem w/ Matrix Mixer
Re: problem w/ Matrix Mixer
- Subject: Re: problem w/ Matrix Mixer
- From: James McCartney <email@hidden>
- Date: Tue, 16 Dec 2003 12:03:14 -0800
On Dec 16, 2003, at 7:30 AM, Robert Grant wrote:
Well here's my "D'oh" answer to how to disconnect safely. I just
connect to a dummy RenderProc:
OSStatus RenderEmptyInput(
void *inRefCon,
AudioUnitRenderActionFlags * ioActionFlags,
const AudioTimeStamp * inTimeStamp,
UInt32 inBusNumber,
UInt32 inNumberFrames,
AudioBufferList * ioData)
{
return noErr;
}
Works like a charm - but probably not ideal as it doesn't answer the
question of whether the input is really being disabled - but I can't
answer that.
what do you mean by disabled exactly?
If you want it to stop being pulled then unset the enable parameter on
the MatrixMixer for that bus. Then after some short time for the
amplitude to be swept to zero, it will stop being pulled.
-
james mccartney
apple coreaudio
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.