Class CDGSourceSettings
CDG source settings. Implements the IMediaPlayerBaseSourceSettings.
Inherited Members
Namespace: VisioForge.Core.Types.X.Sources
Assembly: VisioForge.Core.dll
Syntax
public class CDGSourceSettings : IMediaPlayerBaseSourceSettings, IVideoSourceSettings, IMediaBlockSettings
Constructors
CDGSourceSettings(string, string)
Initializes a new instance of the CDGSourceSettings class.
Declaration
public CDGSourceSettings(string cdgFilename, string audioFilename)
Parameters
Type | Name | Description |
---|---|---|
string | cdgFilename | The CDG filename. |
string | audioFilename | The audio filename. |
Properties
AudioFilename
Gets or sets the audio filename.
Declaration
public string AudioFilename { get; set; }
Property Value
Type | Description |
---|---|
string | The audio filename. |
CDGFilename
Gets or sets the CDG filename.
Declaration
public string CDGFilename { get; set; }
Property Value
Type | Description |
---|---|
string | The CDG filename. |
IgnoreAudio
Gets a value indicating whether to ignore audio.
Declaration
public bool IgnoreAudio { get; }
Property Value
Type | Description |
---|---|
bool |
|
Methods
CreateBlock()
Creates the block.
Declaration
public MediaBlock CreateBlock()
Returns
Type | Description |
---|---|
MediaBlock | MediaBlock. |
ReadInfoAsync()
Read information as an asynchronous operation.
Declaration
public Task<MediaFileInfo> ReadInfoAsync()
Returns
Type | Description |
---|---|
Task<MediaFileInfo> | A Task<MediaFileInfo> representing the asynchronous operation. |