C# 클래스 Tsukikage.WinMM.WaveIO.WaveOut

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

공개 메소드들

메소드 설명
Close ( ) : void

Close WaveOut and release all resources. WaveOut��‚��A���ׂẴ��\�[�X�������܂��B

EnsureOpened ( ) : void
GetDeviceNames ( ) : string[]

Get names of installed devices. �C���X�g�[���ς݂̃f�o�C�X���𓾂܂��B

IDisposable ( ) : void
Stop ( ) : void

Stop. �~�߂܂��B

WaveOut ( int deviceId, int samplesPerSec, int bitsPerSample, int channels ) : System

Open WaveOut. WaveOut��J���܂��B

Write ( IntPtr src, int length ) : void

Write data to WaveOut. ����o���܂��B

Write ( byte waveform ) : void

Write data to WaveOut. ����o���܂��B

Write ( byte waveform, int offset, int count ) : void

Write data to WaveOut. ����o���܂��B

비공개 메소드들

메소드 설명
Write ( WaveBuffer buffer ) : void

Write data to WaveOut. ����o���܂��B

메소드 상세

Close() 공개 메소드

Close WaveOut and release all resources. WaveOut��‚��A���ׂẴ��\�[�X�������܂��B
public Close ( ) : void
리턴 void

EnsureOpened() 공개 메소드

public EnsureOpened ( ) : void
리턴 void

GetDeviceNames() 공개 정적인 메소드

Get names of installed devices. �C���X�g�[���ς݂̃f�o�C�X���𓾂܂��B
public static GetDeviceNames ( ) : string[]
리턴 string[]

IDisposable() 공개 메소드

public IDisposable ( ) : void
리턴 void

Stop() 공개 메소드

Stop. �~�߂܂��B
public Stop ( ) : void
리턴 void

WaveOut() 공개 메소드

Open WaveOut. WaveOut��J���܂��B
public WaveOut ( int deviceId, int samplesPerSec, int bitsPerSample, int channels ) : System
deviceId int WaveOut.WaveMapper���AGetDeviceNames()��index
samplesPerSec int 44100 (Hz)
bitsPerSample int 16 or 8
channels int 2 or 1
리턴 System

Write() 공개 메소드

Write data to WaveOut. ����o���܂��B
public Write ( IntPtr src, int length ) : void
src System.IntPtr ��
length int �o�C�g��
리턴 void

Write() 공개 메소드

Write data to WaveOut. ����o���܂��B
public Write ( byte waveform ) : void
waveform byte ��
리턴 void

Write() 공개 메소드

Write data to WaveOut. ����o���܂��B
public Write ( byte waveform, int offset, int count ) : void
waveform byte ��
offset int �ǂݏo���ʒu
count int �ǂݏo���o�C�g��
리턴 void