// TODO: event for updating time? /** * Constructors */ public AudioTrack(int recordingDeviceIndex, string projectDirectory) { this.recordingDeviceIndex = recordingDeviceIndex; this.projectDirectory = projectDirectory; // TODO: get rid of? sampleAggregator = new SampleAggregator(); sampleAggregator.NotificationCount = waveFormat.SampleRate / 10; this.State = AudioTrackState.Monitoring; }
public AudioRecorder() { sampleAggregator = new SampleAggregator(); RecordingFormat = new WaveFormat(44100, 1); }