Class AudioStream
Implements
System.ICloneable
Inherited Members
Namespace: Emby.Media.Model.Streams
Assembly: Emby.Media.Model.dll
Syntax
public class AudioStream : StreamBase, ICloneable
Constructors
AudioStream()
Initializes a new instance of the AudioStream class.
Declaration
public AudioStream()
AudioStream(AudioStream)
Initializes a new instance of the AudioStream class.
Declaration
public AudioStream(AudioStream source)
Parameters
Type | Name | Description |
---|---|---|
AudioStream | source | The source. |
Remarks
Copy constructor.
AudioStream(MediaStream)
Initializes a new instance of the AudioStream class.
Declaration
public AudioStream(MediaStream originalStream)
Parameters
Type | Name | Description |
---|---|---|
MediaStream | originalStream | The original stream. |
Properties
AudioCodec
Declaration
[Display(Name = "Audio Codec", Description = "Audio Codec")]
public AudioMediaTypes AudioCodec { get; set; }
Property Value
Type | Description |
---|---|
AudioMediaTypes |
BitRate
Gets or sets the bit rate.
Declaration
[Display(Name = "Bitrate", Description = "The bitrate of the stream")]
public BitRate? BitRate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<BitRate> | The bit rate. |
BitsPerSample
Gets or sets the bit depth.
Declaration
[Display(Name = "Bits per Sample", Description = "Number of bits per sample")]
public int? BitsPerSample { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The bit depth. |
ChannelLayout
Gets or sets the channel layout.
Declaration
[Display(Name = "Channel Layout", Description = "Layout of channels")]
public ChannelLayouts? ChannelLayout { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<ChannelLayouts> | The channel layout. |
Channels
Gets or sets the channels.
Declaration
[Display(Name = "Channel Count", Description = "The number of channels")]
public int? Channels { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The channels. |
CodecName
Declaration
public override string CodecName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Profile
Gets or sets the profile.
Declaration
[Display(Name = "Profile", Description = "The video encoding profile")]
public string Profile { get; set; }
Property Value
Type | Description |
---|---|
System.String | The profile. |
SampleFormat
Declaration
[Display(Name = "Sample Format", Description = "Format of samples")]
public SampleFormats? SampleFormat { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<SampleFormats> |
SampleRate
Gets or sets the sample rate.
Declaration
[Display(Name = "Sample Rate", Description = "Number of samples per second")]
public SampleRates? SampleRate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<SampleRates> | The sample rate. |
Methods
CloneCore()
Declaration
protected override StreamBase CloneCore()
Returns
Type | Description |
---|---|
StreamBase |
Overrides
GetShortDescriptionBits()
Gets a short description.
Declaration
public override List<string> GetShortDescriptionBits()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.String> | A string. |
Overrides
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string that represents the current object. |
Overrides
System.Object.ToString()
Implements
System.ICloneable