DirectX Media Object Enumerator.
More...
DirectX Media Object Enumerator.
◆ GetAudioDecoderNames()
Retrieves the names of available audio decoders.
- Returns
- An IEnumerable of DmoDescriptor objects representing the available audio decoders.
This method retrieves the names of available audio decoders by calling the GetDmos method with the DMO category DmoGuids.DMOCATEGORY_AUDIO_DECODER.
◆ GetAudioEffectNames()
Retrieves the names of audio effects available and returns them as an enumerable collection of DmoDescriptors.
- Returns
- An enumerable collection of DmoDescriptors representing the names of available audio effects.
This method retrieves the audio effects by querying the DMO category for audio effects using the DmoGuids.DMOCATEGORY_AUDIO_EFFECT constant. It returns the names of available audio effects as DmoDescriptors, which contain information about the effects.
◆ GetAudioEncoderNames()
Retrieves the names of available audio encoders.
- Returns
- An IEnumerable of DmoDescriptor objects representing the available audio encoders.
This method retrieves the names of available audio encoders by querying the system for DMOs (DirectX Media Objects) belonging to the category of audio encoders. It returns an IEnumerable of DmoDescriptor objects, each representing an available audio encoder.
◆ GetDmos()
Retrieves a collection of DMO descriptors for a specified category.
- Parameters
-
category | The GUID of the category for which DMO descriptors are to be retrieved. |
- Returns
- A collection of DMO descriptors for the specified category.
- Exceptions
-
System.Runtime.InteropServices.COMException | Thrown when a COM error occurs while enumerating the DMOs. |
The documentation for this class was generated from the following file:
- /Users/sumansaurabh/Documents/my-startup/xeno-rat/Plugins/LiveMicrophone/lib/NAudio.Wasapi/Dmo/DmoEnumerator.cs