Tsukikage.DirectShow.SampleGrabberGraph.OnAudioFrame C# (CSharp) Method

OnAudioFrame() protected method

AudioFrameイベントを発生させます。
protected OnAudioFrame ( double sampleTime, IntPtr pBuffer, int bufferLength ) : int
sampleTime double
pBuffer System.IntPtr
bufferLength int
return int
        protected virtual int OnAudioFrame(double sampleTime, IntPtr pBuffer, int bufferLength)
        {
            if (AudioFrame != null)
                AudioFrame(sampleTime, pBuffer, bufferLength);
            return 0;
        }