Class AudioSettings
Information about the audio settings of an encoding profile.
Implements
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class AudioSettings : IMessage<AudioSettings>, IEquatable<AudioSettings>, IDeepCloneable<AudioSettings>, IBufferMessage, IMessage
Constructors
AudioSettings()
Declaration
public AudioSettings()
AudioSettings(AudioSettings)
Declaration
public AudioSettings(AudioSettings other)
Parameters
| Type | Name | Description |
|---|---|---|
| AudioSettings | other |
Properties
Bitrate
Required. The bitrate of the audio, in bits per second. This value must be between 8kbps and 250 Mbps.
Declaration
public long Bitrate { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
Channels
Required. The number of audio channels, including low frequency channels. This value has a maximum of 8.
Declaration
public long Channels { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
Codec
Required. The RFC6381 codec string of the audio.
Declaration
public string Codec { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HasBitrate
Gets whether the "bitrate" field is set
Declaration
public bool HasBitrate { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasChannels
Gets whether the "channels" field is set
Declaration
public bool HasChannels { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasCodec
Gets whether the "codec" field is set
Declaration
public bool HasCodec { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasSampleRateHertz
Gets whether the "sample_rate_hertz" field is set
Declaration
public bool HasSampleRateHertz { get; }
Property Value
| Type | Description |
|---|---|
| bool |
SampleRateHertz
Required. The audio sample rate in hertz. Must be between 44kHz and 100kHz.
Declaration
public long SampleRateHertz { get; set; }
Property Value
| Type | Description |
|---|---|
| long |