WaveBuffer Class |
Namespace: CallFlowFramework.Media
The WaveBuffer type exposes the following members.
Name | Description | |
---|---|---|
![]() | WaveBuffer(TimeSpan) | Initializes a new instance of the WaveBuffer class |
![]() | WaveBuffer(WaveFormat, TimeSpan) | Initializes a new instance of the WaveBuffer class |
Name | Description | |
---|---|---|
![]() | Buffer |
Recorded buffer containing "Length" real bytes. Check IsWrited and set IsReaded before reading it.
|
![]() | ByteCount |
Buffer filled part length in bytes.
|
![]() | LastRecordedData |
Last recorded data array
|
![]() | SampleCount |
Returns total number of samples contained in the buffer based on the currently selected
WaveFormat.
|
![]() | WaveFormat |
Wave samples format
|
Name | Description | |
---|---|---|
![]() | AddDataToBuffer |
Adds data to buffer. Raises DataRecorded event if enough data in the buffer.
Stops recording if buffer is full.
|
![]() | Equals | (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | LoadFromFile |
Load data from file.
Reads data only if file wave format equals to specified wave format.
Reads maximum of max_recording_duration.
|
![]() | ResetBuffer |
Resets buffer
|
![]() | SaveToFile |
Saves recorded data to file
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |