C# 클래스 NewTOAPIA.Media.WinMM.WaveInputPort

상속: WinMMAudioDevice, IDisposable
파일 보기 프로젝트 열기: Wiladams/NewTOAPIA 1 사용 예제들

공개 메소드들

메소드 설명
CanSupportFormat ( int deviceID, int channels, int sampleRate, int bitsPerSample ) : bool
Close ( ) : void
CreateDefaultPort ( double latency ) : WaveInputPort

Create a WaveOutPort that represents the default output device for the user's system.

CreateInputPort ( int deviceID, int channels, int sampleRate, int bitsPerSample, double latency ) : WaveInputPort

Help the user create an output device by specifying a few key parameters.

Dispose ( ) : void
GetErrorText ( int mmrError, StringBuilder errorText, int textSize ) : int
GetNumberOfWaveInDevices ( ) : int
Message ( uint msg, IntPtr dw1, IntPtr dw2 ) : int
Open ( ) : void
Reset ( ) : void
Start ( ) : void
Stop ( ) : void
UnprepareHeader ( WAVEHDR pwh ) : int
WaitForClosed ( ) : void
WaveInputPort ( int deviceID, WAVEFORMATEX wf, double latency ) : System
WaveInputPort ( int deviceID, int channels, int sampleRate, int bitsPerSample, double latency ) : System

보호된 메소드들

메소드 설명
EnsureOpen ( ) : void

메소드 상세

CanSupportFormat() 공개 정적인 메소드

public static CanSupportFormat ( int deviceID, int channels, int sampleRate, int bitsPerSample ) : bool
deviceID int
channels int
sampleRate int
bitsPerSample int
리턴 bool

Close() 공개 메소드

public Close ( ) : void
리턴 void

CreateDefaultPort() 공개 정적인 메소드

Create a WaveOutPort that represents the default output device for the user's system.
public static CreateDefaultPort ( double latency ) : WaveInputPort
latency double
리턴 WaveInputPort

CreateInputPort() 공개 정적인 메소드

Help the user create an output device by specifying a few key parameters.
public static CreateInputPort ( int deviceID, int channels, int sampleRate, int bitsPerSample, double latency ) : WaveInputPort
deviceID int
channels int
sampleRate int
bitsPerSample int
latency double
리턴 WaveInputPort

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

EnsureOpen() 보호된 메소드

protected EnsureOpen ( ) : void
리턴 void

GetErrorText() 공개 정적인 메소드

public static GetErrorText ( int mmrError, StringBuilder errorText, int textSize ) : int
mmrError int
errorText StringBuilder
textSize int
리턴 int

GetNumberOfWaveInDevices() 공개 정적인 메소드

public static GetNumberOfWaveInDevices ( ) : int
리턴 int

Message() 공개 메소드

public Message ( uint msg, IntPtr dw1, IntPtr dw2 ) : int
msg uint
dw1 System.IntPtr
dw2 System.IntPtr
리턴 int

Open() 공개 메소드

public Open ( ) : void
리턴 void

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void

UnprepareHeader() 공개 메소드

public UnprepareHeader ( WAVEHDR pwh ) : int
pwh WAVEHDR
리턴 int

WaitForClosed() 공개 메소드

public WaitForClosed ( ) : void
리턴 void

WaveInputPort() 공개 메소드

public WaveInputPort ( int deviceID, WAVEFORMATEX wf, double latency ) : System
deviceID int
wf TOAPI.Types.WAVEFORMATEX
latency double
리턴 System

WaveInputPort() 공개 메소드

public WaveInputPort ( int deviceID, int channels, int sampleRate, int bitsPerSample, double latency ) : System
deviceID int
channels int
sampleRate int
bitsPerSample int
latency double
리턴 System