Ejemplo n.º 1
0
        protected virtual void OnEnable()
        {
            if (audioCallContext == null)
            {
                audioCallContext = GetComponentInParent <AudioCallbackContext>();
            }

            //set the callback function for libavstuff
            MixCastAV.SetAudioCallBack(myAudioCallBack);
        }