Media Object InPlace.
More...
|
DmoInPlaceProcessReturn | Process (int size, int offset, byte[] data, long timeStart, DmoInPlaceProcessFlags inPlaceFlag) |
| Processes the input data in place using the specified Direct Media Object (DMO) and returns the result.
|
|
MediaObjectInPlace | Clone () |
| Clones the current MediaObjectInPlace and returns the cloned object.
|
|
long | GetLatency () |
| Retrieves the latency time of the media object in place.
|
|
MediaObject | GetMediaObject () |
| Returns a new instance of MediaObject based on the existing mediaObjectInPlace.
|
|
void | Dispose () |
| Releases the unmanaged resources used by the MediaObjectInPlace and optionally releases the managed resources.
|
|
◆ Clone()
Clones the current MediaObjectInPlace and returns the cloned object.
- Returns
- A new MediaObjectInPlace that is a clone of the current object.
- Exceptions
-
System.Runtime.InteropServices.COMException | Thrown when an error is encountered during the cloning process. |
◆ Dispose()
void NAudio.Dmo.MediaObjectInPlace.Dispose |
( |
| ) |
|
|
inline |
Releases the unmanaged resources used by the MediaObjectInPlace and optionally releases the managed resources.
This method releases the unmanaged resources used by the MediaObjectInPlace and optionally releases the managed resources. It is a good practice to call this method when you have finished using the MediaObjectInPlace. This method ensures that the MediaObjectInPlace is properly disposed of and releases all resources associated with it.
◆ GetLatency()
long NAudio.Dmo.MediaObjectInPlace.GetLatency |
( |
| ) |
|
|
inline |
Retrieves the latency time of the media object in place.
- Returns
- The latency time of the media object in place.
- Exceptions
-
System.Runtime.InteropServices.COMException | Thrown when an error is encountered while retrieving the latency time. |
◆ GetMediaObject()
MediaObject NAudio.Dmo.MediaObjectInPlace.GetMediaObject |
( |
| ) |
|
|
inline |
Returns a new instance of MediaObject based on the existing mediaObjectInPlace.
- Returns
- A new MediaObject instance based on the existing mediaObjectInPlace.
◆ Process()
Processes the input data in place using the specified Direct Media Object (DMO) and returns the result.
- Parameters
-
size | The size of the data to be processed. |
offset | The offset within the data array where the processing should start. |
data | The input data array. |
timeStart | The start time for the processing operation. |
inPlaceFlag | The flags indicating the type of in-place processing to be performed. |
- Returns
- The result of processing the input data using the specified DMO.
- Exceptions
-
System.Runtime.InteropServices.COMException | Thrown when an error occurs during the processing operation. |
◆ mediaObjectInPlace
IMediaObjectInPlace NAudio.Dmo.MediaObjectInPlace.mediaObjectInPlace |
|
private |
The documentation for this class was generated from the following file:
- /Users/sumansaurabh/Documents/my-startup/xeno-rat/Plugins/LiveMicrophone/lib/NAudio.Wasapi/Dmo/MediaObjectInPlace.cs