static public int GetAudioSampleProvider(IntPtr l) { try { UnityEngine.Video.VideoPlayer self = (UnityEngine.Video.VideoPlayer)checkSelf(l); System.UInt16 a2; checkType(l, 2, out a2); var ret = self.GetAudioSampleProvider(a2); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }