/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the elastictranscoder-2012-09-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.ElasticTranscoder.Model
{
///
/// Options associated with your audio codec.
///
public partial class AudioCodecOptions
{
private string _bitDepth;
private string _bitOrder;
private string _profile;
private string _signed;
///
/// Gets and sets the property BitDepth.
///
/// You can only choose an audio bit depth when you specify flac
or pcm
/// for the value of Audio:Codec.
///
///
///
/// The bit depth of a sample is how many bits of information are included in the audio
/// samples. The higher the bit depth, the better the audio, but the larger the file.
///
///
///
/// Valid values are 16
and 24
.
///
///
///
/// The most common bit depth is 24
.
///
///
public string BitDepth
{
get { return this._bitDepth; }
set { this._bitDepth = value; }
}
// Check to see if BitDepth property is set
internal bool IsSetBitDepth()
{
return this._bitDepth != null;
}
///
/// Gets and sets the property BitOrder.
///
/// You can only choose an audio bit order when you specify pcm
for the value
/// of Audio:Codec.
///
///
///
/// The order the bits of a PCM sample are stored in.
///
///
///
/// The supported value is LittleEndian
.
///
///
public string BitOrder
{
get { return this._bitOrder; }
set { this._bitOrder = value; }
}
// Check to see if BitOrder property is set
internal bool IsSetBitOrder()
{
return this._bitOrder != null;
}
///
/// Gets and sets the property Profile.
///
/// You can only choose an audio profile when you specify AAC for the value of Audio:Codec.
///
///
///
/// Specify the AAC profile for the output file. Elastic Transcoder supports the following
/// profiles:
///
/// -
///
///
auto
: If you specify auto
, Elastic Transcoder selects the
/// profile based on the bit rate selected for the output file.
///
/// -
///
///
AAC-LC
: The most common AAC profile. Use for bit rates larger than 64
/// kbps.
///
/// -
///
///
HE-AAC
: Not supported on some older players and devices. Use for bit
/// rates between 40 and 80 kbps.
///
/// -
///
///
HE-AACv2
: Not supported on some players and devices. Use for bit rates
/// less than 48 kbps.
///
///
///
/// All outputs in a Smooth
playlist must have the same value for Profile
.
///
///
///
/// If you created any presets before AAC profiles were added, Elastic Transcoder automatically
/// updated your presets to use AAC-LC. You can change the value as required.
///
///
///
public string Profile
{
get { return this._profile; }
set { this._profile = value; }
}
// Check to see if Profile property is set
internal bool IsSetProfile()
{
return this._profile != null;
}
///
/// Gets and sets the property Signed.
///
/// You can only choose whether an audio sample is signed when you specify pcm
/// for the value of Audio:Codec.
///
///
///
/// Whether audio samples are represented with negative and positive numbers (signed)
/// or only positive numbers (unsigned).
///
///
///
/// The supported value is Signed
.
///
///
public string Signed
{
get { return this._signed; }
set { this._signed = value; }
}
// Check to see if Signed property is set
internal bool IsSetSigned()
{
return this._signed != null;
}
}
}