Exemplo n.º 1
0
        /// <summary>
        /// Disposes important objects
        /// </summary>
        public void DisposeAll()
        {
            this.stopRecording();

            if (spotHandler != null)
            {
                spotHandler = null;
            }
        }
Exemplo n.º 2
0
        public SpotRecorder(string fileDirectory, Filter recordingDevice)
        {
            if (!fileDirectory.Substring(fileDirectory.Length - 1, 1).Equals(@"\"))
            {
                this.FileDirectory = fileDirectory + @"\";
            }
            else
            {
                this.FileDirectory = fileDirectory;
            }

            this.RecordingDevice = recordingDevice;
            this.recorder = null;

            spotHandler = new SpotHandler(processName);
            spotHandler.TrackChanged += new SpotHandlerBase.TrackChangedEventHandler(spotHandler_TrackChanged);
        }