コード例 #1
0
 internal Adapter(CapturedSoundInfoSource owner, SoundCaptureDevice device, int window, int delta)
     : base(device)
 {
     this.owner        = owner;
     this.windowBuffer = new SlidingWindowBuffer(window, delta);
     this.buffer       = new double[window];
 }
コード例 #2
0
 internal Adapter(CapturedSoundInfoSource owner, SoundCaptureDevice device, int window, int delta)
     : base(device)
 {
     this.owner = owner;
     this.windowBuffer = new SlidingWindowBuffer(window, delta);
     this.buffer = new double[window];
 }