5 using System.Diagnostics;
7 namespace SiliconStudio.
Paradox.Audio
12 internal sealed
partial class Microphone : IRecorder
14 #region Implementation of the IRecorder interface
16 public TimeSpan BufferDuration {
get; set; }
18 public TimeSpan BufferSize {
get; set; }
20 public int SampleRate {
get;
private set; }
22 public RecorderState State {
get;
private set; }
24 public TimeSpan GetSampleDuration(
int sizeInBytes)
26 throw new NotImplementedException();
29 public int GetSampleSizeInBytes(TimeSpan duration)
31 throw new NotImplementedException();
34 public int GetData(byte[] buffer)
36 throw new NotImplementedException();
39 public int GetData(byte[] buffer,
int offset,
int count)
42 if (BufferReady != null) BufferReady(
this,
EventArgs.Empty);
43 throw new NotImplementedException();
46 public event EventHandler<EventArgs> BufferReady;