AnimatGuiCtrls.Video.AviManager.Close C# (CSharp) Method

Close() public method

Release all ressources
public Close ( ) : void
return void
        public void Close()
        {
            foreach(AviStream stream in streams){
                stream.Close();
            }

            Avi.AVIFileRelease(aviFile);
            Avi.AVIFileExit();
        }

Usage Example

コード例 #1
0
        /// <summary>Add a wave audio stream from another file to this file</summary>
        /// <param name="waveFileName">Name of the wave file to add</param>
        /// <param name="startAtFrameIndex">Index of the video frame at which the sound is going to start</param>
        public void AddAudioStream(String waveFileName, int startAtFrameIndex)
        {
            AviManager  audioManager = new AviManager(waveFileName, true);
            AudioStream newStream    = audioManager.GetWaveStream();

            AddAudioStream(newStream, startAtFrameIndex);
            audioManager.Close();
        }
All Usage Examples Of AnimatGuiCtrls.Video.AviManager::Close