Class AudioFormatNotSupportedException
- Namespace
- NAudio.CoreAudioApi
- Assembly
- NAudio.Wasapi.dll
Exception thrown when the audio format is not supported.
public class AudioFormatNotSupportedException : CoreAudioException, ISerializable
- Inheritance
-
AudioFormatNotSupportedException
- Implements
- Inherited Members
- Extension Methods
Constructors
AudioFormatNotSupportedException(int)
Creates a new AudioFormatNotSupportedException
public AudioFormatNotSupportedException(int hresult)
Parameters
hresultint
Properties
RequestedFormat
The format that was requested
public WaveFormat? RequestedFormat { get; init; }
Property Value
SuggestedFormat
The closest format the endpoint can support, if available
public WaveFormat? SuggestedFormat { get; init; }