C# Class Tsukikage.WinMM.WaveIO.WaveOut

Inheritance: IDisposable
Afficher le fichier Open project: ttsuki/ttsuki Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
Write ( WaveBuffer buffer ) : void

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

Method Details

Close() public méthode

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

EnsureOpened() public méthode

public EnsureOpened ( ) : void
Résultat void

GetDeviceNames() public static méthode

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

IDisposable() public méthode

public IDisposable ( ) : void
Résultat void

Stop() public méthode

Stop. �~�߂܂��B
public Stop ( ) : void
Résultat void

WaveOut() public méthode

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
Résultat System

Write() public méthode

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

Write() public méthode

Write data to WaveOut. ����o���܂��B
public Write ( byte waveform ) : void
waveform byte ��
Résultat void

Write() public méthode

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��
Résultat void