Метод | Описание | |
---|---|---|
CanSupportFormat ( int deviceID, int channels, int sampleRate, int bitsPerSample ) : bool | ||
Close ( ) : void | ||
CreateDefaultPort ( double latency ) : |
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 ) : |
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, |
||
Open ( ) : void | ||
Reset ( ) : void | ||
Start ( ) : void | ||
Stop ( ) : void | ||
UnprepareHeader ( WAVEHDR pwh ) : int | ||
WaitForClosed ( ) : void | ||
WaveInputPort ( int deviceID, |
||
WaveInputPort ( int deviceID, int channels, int sampleRate, int bitsPerSample, double latency ) : System |
Метод | Описание | |
---|---|---|
EnsureOpen ( ) : void |
public static CanSupportFormat ( int deviceID, int channels, int sampleRate, int bitsPerSample ) : bool | ||
deviceID | int | |
channels | int | |
sampleRate | int | |
bitsPerSample | int | |
Результат | bool |
public static CreateDefaultPort ( double latency ) : |
||
latency | double | |
Результат |
public static CreateInputPort ( int deviceID, int channels, int sampleRate, int bitsPerSample, double latency ) : |
||
deviceID | int | |
channels | int | |
sampleRate | int | |
bitsPerSample | int | |
latency | double | |
Результат |
public static GetErrorText ( int mmrError, StringBuilder errorText, int textSize ) : int | ||
mmrError | int | |
errorText | StringBuilder | |
textSize | int | |
Результат | int |
public static GetNumberOfWaveInDevices ( ) : int | ||
Результат | int |
public Message ( uint msg, |
||
msg | uint | |
dw1 | ||
dw2 | ||
Результат | int |
public UnprepareHeader ( WAVEHDR pwh ) : int | ||
pwh | WAVEHDR | |
Результат | int |
public WaveInputPort ( int deviceID, |
||
deviceID | int | |
wf | ||
latency | double | |
Результат | System |
public WaveInputPort ( int deviceID, int channels, int sampleRate, int bitsPerSample, double latency ) : System | ||
deviceID | int | |
channels | int | |
sampleRate | int | |
bitsPerSample | int | |
latency | double | |
Результат | System |