Bloom.Edit.AudioRecording.AudioRecording C# (CSharp) Method

AudioRecording() public method

public AudioRecording ( BookSelection bookSelection, BloomWebSocketServer bloomWebSocketServer ) : SIL.Media.Naudio
bookSelection Bloom.Book.BookSelection
bloomWebSocketServer Bloom.Api.BloomWebSocketServer
return SIL.Media.Naudio
        public AudioRecording(BookSelection bookSelection, BloomWebSocketServer bloomWebSocketServer)
        {
            _bookSelection = bookSelection;
            _startRecordingTimer = new Timer();
            _startRecordingTimer.Interval = 300; //  ms from click to actual recording
            _startRecordingTimer.Tick += OnStartRecordingTimer_Elapsed;
            _backupPath = System.IO.Path.GetTempFileName();
            CurrentRecording = this;
            _webSocketServer = bloomWebSocketServer;
        }