Свойство | Тип | Описание | |
---|---|---|---|
m_BitsPerSample | short | ||
m_Channels | short | ||
m_IncrementTimecodes | bool | ||
m_MediaEvent | IMediaEvent | ||
m_SampleRate | int | ||
m_TimecodeBase | double |
Метод | Описание | |
---|---|---|
AudioCapture ( ) : System |
Use capture device zero, default frame rate and size
|
|
AudioCapture ( int iDeviceNum ) : System |
Use specified capture device, default frame rate and size
|
|
AudioCapture ( int iDeviceNum, int iSampleRate ) : System |
Use specified capture device, specified frame rate and default size
|
|
AudioCapture ( int iDeviceNum, int iSampleRate, int iChannels ) : System |
Use specified capture device, specified frame rate and default size
|
|
AudioCapture ( string Filename ) : System | ||
Dispose ( ) : void |
release everything.
|
|
IsCompleted ( ) : bool |
Check if source media has ended. Only makes sense for file input.
|
|
Pause ( ) : void | ||
Start ( ) : void |
Метод | Описание | |
---|---|---|
OnFrameAvailable ( object sender, |
Метод | Описание | |
---|---|---|
CloseInterfaces ( ) : void |
Shut down capture
|
|
ConfigureSampleGrabber ( ISampleGrabber sampGrabber ) : void | ||
CopyMemory ( |
||
ISampleGrabberCB ( double SampleTime, IMediaSample pSample ) : int | ||
ISampleGrabberCB ( double SampleTime, |
||
SaveSizeInfo ( ISampleGrabber sampGrabber ) : void | ||
SetConfigParms ( ICaptureGraphBuilder2 capGraph, IBaseFilter capFilter, int iSampleRate, int iChannels ) : void | ||
SetupGraph ( DsDevice dev, int iSampleRate, int iChannels ) : void |
build the capture graph for grabber.
|
|
SetupGraph ( string FileName ) : void | ||
_Capture ( int iDeviceNum, int iSampleRate, int iChannels ) : void |
public AudioCapture ( int iDeviceNum ) : System | ||
iDeviceNum | int | |
Результат | System |
public AudioCapture ( int iDeviceNum, int iSampleRate ) : System | ||
iDeviceNum | int | |
iSampleRate | int | |
Результат | System |
public AudioCapture ( int iDeviceNum, int iSampleRate, int iChannels ) : System | ||
iDeviceNum | int | |
iSampleRate | int | |
iChannels | int | |
Результат | System |
public AudioCapture ( string Filename ) : System | ||
Filename | string | |
Результат | System |
protected OnFrameAvailable ( object sender, |
||
sender | object | |
e | ||
Результат | void |