Click or drag to resize

WaveBuffer Class

Stores buffer of wave samples.
Inheritance Hierarchy
SystemObject
  CallFlowFramework.MediaWaveBuffer

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

The WaveBuffer type exposes the following members.

Constructors
  NameDescription
Public methodWaveBuffer(TimeSpan)
Initializes a new instance of the WaveBuffer class
Public methodWaveBuffer(WaveFormat, TimeSpan)
Initializes a new instance of the WaveBuffer class
Top
Properties
  NameDescription
Public propertyBuffer
Recorded buffer containing "Length" real bytes. Check IsWrited and set IsReaded before reading it.
Public propertyByteCount
Buffer filled part length in bytes.
Public propertyLastRecordedData
Last recorded data array
Public propertySampleCount
Returns total number of samples contained in the buffer based on the currently selected WaveFormat.
Public propertyWaveFormat
Wave samples format
Top
Methods
  NameDescription
Public methodAddDataToBuffer
Adds data to buffer. Raises DataRecorded event if enough data in the buffer. Stops recording if buffer is full.
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 methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoadFromFile
Load data from file. Reads data only if file wave format equals to specified wave format. Reads maximum of max_recording_duration.
Public methodResetBuffer
Resets buffer
Public methodSaveToFile
Saves recorded data to file
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also