Class RendererOptions
Provides access to various internal media renderer options.
Inherited Members
Namespace: Unosquare.FFME.Common
Syntax
public sealed class RendererOptions
Properties
AudioDisableSync
By default, the audio renderer will skip or wait for samples to synchronize to video.
Declaration
public bool AudioDisableSync { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
DirectSoundDevice
Gets or sets the DirectSound device identifier. It is the default playback device by default. Only valid if UseLegacyAudioOut is set to false which is the default.
Declaration
public DirectSoundDeviceInfo DirectSoundDevice { get; set; }
Property Value
Type | Description |
---|---|
DirectSoundDeviceInfo |
LegacyAudioDevice
Gets or sets the wave device identifier. -1 is the default playback device. Only valid if UseLegacyAudioOut is set to true.
Declaration
public LegacyAudioDeviceInfo LegacyAudioDevice { get; set; }
Property Value
Type | Description |
---|---|
LegacyAudioDeviceInfo |
UseLegacyAudioOut
Gets or sets a value indicating whether the legacy MME (WinMM) should be used as an audio output device as opposed to DirectSound. This defaults to false.
Declaration
public bool UseLegacyAudioOut { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
VideoImageType
Gets or sets which image type is used for the video renderer. Use WriteableBitmap for tear-free scenarios, or use the InteropBitmap for faster, lower CPU usage. InteropBitmap might introduce some tearing.
Declaration
public VideoRendererImageType VideoImageType { get; set; }
Property Value
Type | Description |
---|---|
VideoRendererImageType |
VideoRefreshRateLimit
Gets or sets the frame refresh rate limit for the video renderer. Defaults to 0 and means no limit. Units are in frames per second.
Declaration
public int VideoRefreshRateLimit { get; set; }
Property Value
Type | Description |
---|---|
Int32 |