C# 클래스 NAudio.Wave.WaveIn

Allows recording using the Windows waveIn APIs Events are raised as recorded buffers are made available
상속: IWaveIn
파일 보기 프로젝트 열기: jishi/Jishi.StreamToSonos 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Dispose method

GetCapabilities ( int devNumber ) : NAudio.Wave.WaveInCapabilities

Retrieves the capabilities of a waveIn device

GetMixerLine ( ) : NAudio.Mixer.MixerLine

Microphone Level

StartRecording ( ) : void

Start recording

StopRecording ( ) : void

Stop recording

WaveIn ( ) : System

Prepares a Wave input device for recording

WaveIn ( IntPtr windowHandle ) : System

Creates a WaveIn device using the specified window handle for callbacks

WaveIn ( NAudio.Wave.WaveCallbackInfo callbackInfo ) : System

Prepares a Wave input device for recording

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Dispose pattern

비공개 메소드들

메소드 설명
Callback ( IntPtr waveInHandle, NAudio.Wave.WaveInterop message, IntPtr userData, NAudio.Wave.WaveHeader waveHeader, IntPtr reserved ) : void

Called when we get a new buffer of recorded data

CloseWaveInDevice ( ) : void
CreateBuffers ( ) : void
EnqueueBuffers ( ) : void
OpenWaveInDevice ( ) : void
RaiseDataAvailable ( NAudio.Wave.WaveInBuffer buffer ) : void
RaiseRecordingStopped ( Exception e ) : void

메소드 상세

Dispose() 공개 메소드

Dispose method
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Dispose pattern
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

GetCapabilities() 공개 정적인 메소드

Retrieves the capabilities of a waveIn device
public static GetCapabilities ( int devNumber ) : NAudio.Wave.WaveInCapabilities
devNumber int Device to test
리턴 NAudio.Wave.WaveInCapabilities

GetMixerLine() 공개 메소드

Microphone Level
public GetMixerLine ( ) : NAudio.Mixer.MixerLine
리턴 NAudio.Mixer.MixerLine

StartRecording() 공개 메소드

Start recording
public StartRecording ( ) : void
리턴 void

StopRecording() 공개 메소드

Stop recording
public StopRecording ( ) : void
리턴 void

WaveIn() 공개 메소드

Prepares a Wave input device for recording
public WaveIn ( ) : System
리턴 System

WaveIn() 공개 메소드

Creates a WaveIn device using the specified window handle for callbacks
public WaveIn ( IntPtr windowHandle ) : System
windowHandle System.IntPtr A valid window handle
리턴 System

WaveIn() 공개 메소드

Prepares a Wave input device for recording
public WaveIn ( NAudio.Wave.WaveCallbackInfo callbackInfo ) : System
callbackInfo NAudio.Wave.WaveCallbackInfo
리턴 System