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

파일 보기 프로젝트 열기: Wiladams/NewTOAPIA 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
fCallbackMethod WaveCallback

공개 메소드들

메소드 설명
BreakLoop ( ) : MMSYSERROR
Close ( ) : void
CreateDefaultPort ( ) : WaveOutputPort

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

CreateOutputPort ( int deviceID, int channels, int sampleRate, int bitsPerSample ) : WaveOutputPort

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

DeviceClosed ( IntPtr devHandle ) : void
DeviceOpened ( IntPtr devHandle ) : void
GetErrorText ( int mmrError, StringBuilder errorText, int textSize ) : MMSYSERROR
GetNumberOfWaveOutDevices ( ) : int
GetWaveOutCapabilities ( ) : WAVEOUTCAPS[]
Message ( uint msg, uint dw1, uint dw2 ) : MMSYSERROR
Open ( ) : void
OutputDone ( IntPtr wavhdr, IntPtr param2 ) : void
Pause ( ) : MMSYSERROR
PrepareHeader ( WAVEHDR pwh ) : void
Reset ( ) : void
Restart ( ) : MMSYSERROR
UnprepareHeader ( WAVEHDR pwh ) : void
WaveOutputPort ( int deviceID, WAVEFORMATEX wf ) : System
Write ( WAVEHDR pwh ) : void

보호된 메소드들

메소드 설명
DefaultAudioCallback ( IntPtr deviceHandle, int uMsg, IntPtr userData, IntPtr wavhdr, IntPtr reserved ) : void
EnsureOpen ( ) : void

메소드 상세

BreakLoop() 공개 메소드

public BreakLoop ( ) : MMSYSERROR
리턴 MMSYSERROR

Close() 공개 메소드

public Close ( ) : void
리턴 void

CreateDefaultPort() 공개 정적인 메소드

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

CreateOutputPort() 공개 정적인 메소드

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

DefaultAudioCallback() 보호된 메소드

protected DefaultAudioCallback ( IntPtr deviceHandle, int uMsg, IntPtr userData, IntPtr wavhdr, IntPtr reserved ) : void
deviceHandle System.IntPtr
uMsg int
userData System.IntPtr
wavhdr System.IntPtr
reserved System.IntPtr
리턴 void

DeviceClosed() 공개 메소드

public DeviceClosed ( IntPtr devHandle ) : void
devHandle System.IntPtr
리턴 void

DeviceOpened() 공개 메소드

public DeviceOpened ( IntPtr devHandle ) : void
devHandle System.IntPtr
리턴 void

EnsureOpen() 보호된 메소드

protected EnsureOpen ( ) : void
리턴 void

GetErrorText() 공개 정적인 메소드

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

GetNumberOfWaveOutDevices() 공개 정적인 메소드

public static GetNumberOfWaveOutDevices ( ) : int
리턴 int

GetWaveOutCapabilities() 공개 정적인 메소드

public static GetWaveOutCapabilities ( ) : WAVEOUTCAPS[]
리턴 WAVEOUTCAPS[]

Message() 공개 메소드

public Message ( uint msg, uint dw1, uint dw2 ) : MMSYSERROR
msg uint
dw1 uint
dw2 uint
리턴 MMSYSERROR

Open() 공개 메소드

public Open ( ) : void
리턴 void

OutputDone() 공개 메소드

public OutputDone ( IntPtr wavhdr, IntPtr param2 ) : void
wavhdr System.IntPtr
param2 System.IntPtr
리턴 void

Pause() 공개 메소드

public Pause ( ) : MMSYSERROR
리턴 MMSYSERROR

PrepareHeader() 공개 메소드

public PrepareHeader ( WAVEHDR pwh ) : void
pwh WAVEHDR
리턴 void

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

Restart() 공개 메소드

public Restart ( ) : MMSYSERROR
리턴 MMSYSERROR

UnprepareHeader() 공개 메소드

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

WaveOutputPort() 공개 메소드

public WaveOutputPort ( int deviceID, WAVEFORMATEX wf ) : System
deviceID int
wf TOAPI.Types.WAVEFORMATEX
리턴 System

Write() 공개 메소드

public Write ( WAVEHDR pwh ) : void
pwh WAVEHDR
리턴 void

프로퍼티 상세

fCallbackMethod 보호되어 있는 프로퍼티

protected WaveCallback fCallbackMethod
리턴 WaveCallback