C# Class Tsukikage.WinMM.WaveIO.WaveIn

Win32 WaveIn����N���X
Inheritance: IDisposable
Mostra file Open project: ttsuki/ttsuki Class Usage Examples

Public Methods

Method Description
Close ( ) : void

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

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

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

IDisposable ( ) : void
Start ( ) : void

Start recording. �^���J�n

Start ( int bufferSize ) : void

Start recording. �^���J�n

Start ( int bufferCount, int bufferSize ) : void

Start recording. �^���J�n

Stop ( ) : void

Stop recording. �^����~

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

Open WaveIn. WaveIn��J���܂��B

Method Details

Close() public method

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

EnsureOpened() public method

public EnsureOpened ( ) : void
return void

GetDeviceNames() public static method

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

IDisposable() public method

public IDisposable ( ) : void
return void

Start() public method

Start recording. �^���J�n
public Start ( ) : void
return void

Start() public method

Start recording. �^���J�n
public Start ( int bufferSize ) : void
bufferSize int ex) 65536 : �o�b�t�@�T�C�Y
return void

Start() public method

Start recording. �^���J�n
public Start ( int bufferCount, int bufferSize ) : void
bufferCount int
bufferSize int ex) 16 : �o�b�t�@��
return void

Stop() public method

Stop recording. �^����~
public Stop ( ) : void
return void

WaveIn() public method

Open WaveIn. WaveIn��J���܂��B
public WaveIn ( int deviceId, int samplesPerSec, int bitsPerSample, int channels ) : System
deviceId int WaveIn.WaveMapper or index of GetDeviceNames(). WaveIn.WaveMapper���AGetDeviceNames()��index
samplesPerSec int ex) 44100 (Hz)
bitsPerSample int 16 or 8
channels int 2 or 1
return System