Ejemplo n.º 1
0
        public AUGraphError SetNodeInputCallback(int destNode, uint destInputNumber, RenderDelegate renderDelegate)
        {
            if (nodesCallbacks == null)
            {
                nodesCallbacks = new Dictionary <uint, RenderDelegate> ();
            }

            nodesCallbacks [destInputNumber] = renderDelegate;

            var cb = new AURenderCallbackStruct();

            cb.Proc       = CreateRenderCallback;
            cb.ProcRefCon = GCHandle.ToIntPtr(gcHandle);
            return(AUGraphSetNodeInputCallback(handle, destNode, destInputNumber, ref cb));
        }
Ejemplo n.º 2
0
 static extern AUGraphError AUGraphSetNodeInputCallback(IntPtr inGraph, int /* AUNode = SInt32 */ inDestNode, uint /* UInt32 */ inDestInputNumber, ref AURenderCallbackStruct inInputCallback);
Ejemplo n.º 3
0
		static extern AUGraphError AUGraphSetNodeInputCallback (IntPtr inGraph, int /* AUNode = SInt32 */ inDestNode, uint /* UInt32 */ inDestInputNumber, ref AURenderCallbackStruct inInputCallback);
Ejemplo n.º 4
0
		public AUGraphError SetNodeInputCallback (int destNode, uint destInputNumber, RenderDelegate renderDelegate)
		{
			if (nodesCallbacks == null)
				nodesCallbacks = new Dictionary<uint, RenderDelegate> ();

			nodesCallbacks [destInputNumber] = renderDelegate;

			var cb = new AURenderCallbackStruct ();
			cb.Proc = CreateRenderCallback;
			cb.ProcRefCon = GCHandle.ToIntPtr (gcHandle);
			return AUGraphSetNodeInputCallback (handle, destNode, destInputNumber, ref cb);
		}