C# 클래스 NAudio.CoreAudioApi.WasapiCapture

Audio Capture using Wasapi See http://msdn.microsoft.com/en-us/library/dd370800%28VS.85%29.aspx
상속: IWaveIn
파일 보기 프로젝트 열기: jishi/Jishi.StreamToSonos 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Dispose

GetDefaultCaptureDevice ( ) : MMDevice

Gets the default audio capture device

StartRecording ( ) : void

Start Recording

StopRecording ( ) : void

Stop Recording (requests a stop, wait for RecordingStopped event to know it has finished)

WasapiCapture ( ) : System

Initialises a new instance of the WASAPI capture class

WasapiCapture ( MMDevice captureDevice ) : System

Initialises a new instance of the WASAPI capture class

보호된 메소드들

메소드 설명
GetAudioClientStreamFlags ( ) : AudioClientStreamFlags

To allow overrides to specify different flags (e.g. loopback)

비공개 메소드들

메소드 설명
CaptureThread ( AudioClient client ) : void
DoRecording ( AudioClient client ) : void
InitializeCaptureDevice ( ) : void
RaiseRecordingStopped ( Exception e ) : void
ReadNextPacket ( NAudio.CoreAudioApi.AudioCaptureClient capture ) : void

메소드 상세

Dispose() 공개 메소드

Dispose
public Dispose ( ) : void
리턴 void

GetAudioClientStreamFlags() 보호된 메소드

To allow overrides to specify different flags (e.g. loopback)
protected GetAudioClientStreamFlags ( ) : AudioClientStreamFlags
리턴 AudioClientStreamFlags

GetDefaultCaptureDevice() 공개 정적인 메소드

Gets the default audio capture device
public static GetDefaultCaptureDevice ( ) : MMDevice
리턴 MMDevice

StartRecording() 공개 메소드

Start Recording
public StartRecording ( ) : void
리턴 void

StopRecording() 공개 메소드

Stop Recording (requests a stop, wait for RecordingStopped event to know it has finished)
public StopRecording ( ) : void
리턴 void

WasapiCapture() 공개 메소드

Initialises a new instance of the WASAPI capture class
public WasapiCapture ( ) : System
리턴 System

WasapiCapture() 공개 메소드

Initialises a new instance of the WASAPI capture class
public WasapiCapture ( MMDevice captureDevice ) : System
captureDevice MMDevice Capture device to use
리턴 System