Click or drag to resize

WaveCapture Class

Captures data from input device and writes it to wave buffer. Calculates signal lvl.
Inheritance Hierarchy
SystemObject
  CallFlowFramework.MediaWaveCapture

Namespace:  CallFlowFramework.Media
Assembly:  CallFlowFramework (in CallFlowFramework.dll) Version: 1.1.0.355 (1.1.0.355)
Syntax
public class WaveCapture

The WaveCapture type exposes the following members.

Constructors
  NameDescription
Public methodWaveCapture(WaveBuffer, IDispatcher)
Initializes a new instance of the WaveCapture class
Public methodWaveCapture(WaveBuffer, TimeSpan, IDispatcher)
Initializes a new instance of the WaveCapture class
Top
Properties
  NameDescription
Public propertyInputDevice
Before the start of a new device, old device will be stopped and disposed and writing to the buffer will be stopped.
Public propertyInputDeviceVolume
Gets or sets input device volume as a coefficient [0..1]
Public propertySignalLvl
Avarage signal level coefficient [0..1]. Calculated every data_reading_period
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic memberGetSupportedWaveInFormats
Returns list of supported wave formats
Public methodStatic memberGetSystemInputDevices
Returns list of system input devices
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodShutDown
Shuts down input device
Public methodStartRecording
Starts recording to wave buffer
Public methodStopRecording
Stops recording to wave buffer
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventDeviceClosed
Raised when input device closed. This may be caused by a user (change InputDevice) or exception.
Public eventDeviceOpened
Raised when input device opened. This may be used for enabling record button on view.
Public eventRecordingProgress
Raised when the buffer has accumulated enough data (required data length is calculated from return_data_period parameter)
Public eventRecordingStopped
Raised when recording stopped.
Public eventSignalLvlUpdated
Raised when reading is started and each volume avarage period
Top
See Also