Class ACMOutput
ACM / PCM output settings.
Inherited Members
Namespace: VisioForge.Core.Types.Output
Assembly: VisioForge.Core.dll
Syntax
public sealed class ACMOutput : IVideoCaptureBaseOutput, IVideoEditBaseOutput
Constructors
ACMOutput()
Initializes a new instance of the ACMOutput class.
Declaration
public ACMOutput()
Properties
BPS
Gets or sets BPS for the current audio codec.
Declaration
public int BPS { get; set; }
Property Value
Type | Description |
---|---|
int |
Remarks
Usually 8 or 16. Some codecs ignore this parameter or set it to zero because they have only one option.
Channels
Gets or sets the number of channels for the current audio codec.
Declaration
public int Channels { get; set; }
Property Value
Type | Description |
---|---|
int |
Remarks
Usually 1 (mono) or 2 (stereo).
Name
Gets or sets the current audio codec.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
SampleRate
Gets or sets the sample rate for the current audio codec.
Declaration
public int SampleRate { get; set; }
Property Value
Type | Description |
---|---|
int |
UseCompression
Gets or sets a value indicating whether audio compression enabled.
Declaration
public bool UseCompression { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
GetInternalTypeVC()
Gets internal output format.
Declaration
public VideoCaptureOutputFormat GetInternalTypeVC()
Returns
Type | Description |
---|---|
VideoCaptureOutputFormat | Returns VideoCaptureOutputFormat. |
GetInternalTypeVE()
Gets internal output format.
Declaration
public VideoEditOutputFormat GetInternalTypeVE()
Returns
Type | Description |
---|---|
VideoEditOutputFormat | Returns VideoEditOutputFormat. |
Load(string)
Loads from JSON.
Declaration
public static ACMOutput Load(string json)
Parameters
Type | Name | Description |
---|---|---|
string | json | JSON string. |
Returns
Type | Description |
---|---|
ACMOutput | The string. |
Save()
Saves to JSON.
Declaration
public string Save()
Returns
Type | Description |
---|---|
string | The string. |