Xeno-rat
Loading...
Searching...
No Matches
NAudio.Dmo.MediaObjectInPlace Class Reference

Media Object InPlace. More...

Inheritance diagram for NAudio.Dmo.MediaObjectInPlace:
Collaboration diagram for NAudio.Dmo.MediaObjectInPlace:

Public Member Functions

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.
 

Private Attributes

IMediaObjectInPlace mediaObjectInPlace
 

Detailed Description

Media Object InPlace.

Member Function Documentation

◆ Clone()

MediaObjectInPlace NAudio.Dmo.MediaObjectInPlace.Clone ( )
inline

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.COMExceptionThrown 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.

Here is the caller graph for this function:

◆ 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.COMExceptionThrown 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()

DmoInPlaceProcessReturn NAudio.Dmo.MediaObjectInPlace.Process ( int size,
int offset,
byte[] data,
long timeStart,
DmoInPlaceProcessFlags inPlaceFlag )
inline

Processes the input data in place using the specified Direct Media Object (DMO) and returns the result.

Parameters
sizeThe size of the data to be processed.
offsetThe offset within the data array where the processing should start.
dataThe input data array.
timeStartThe start time for the processing operation.
inPlaceFlagThe 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.COMExceptionThrown when an error occurs during the processing operation.
Here is the caller graph for this function:

Member Data Documentation

◆ mediaObjectInPlace

IMediaObjectInPlace NAudio.Dmo.MediaObjectInPlace.mediaObjectInPlace
private

The documentation for this class was generated from the following file: