You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::MediaConvert::Types::WavSettings

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb

Overview

Note:

When making an API call, you may pass WavSettings data as a hash:

{
  bit_depth: 1,
  channels: 1,
  format: "RIFF", # accepts RIFF, RF64
  sample_rate: 1,
}

Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value WAV.

Instance Attribute Summary collapse

Instance Attribute Details

#bit_depthInteger

Specify Bit depth (BitDepth), in bits per sample, to choose the encoding quality for this audio track.

Returns:

  • (Integer)


14562
14563
14564
14565
14566
14567
14568
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 14562

class WavSettings < Struct.new(
  :bit_depth,
  :channels,
  :format,
  :sample_rate)
  include Aws::Structure
end

#channelsInteger

Set Channels to specify the number of channels in this output audio track. With WAV, valid values 1, 2, 4, and 8. In the console, these values are Mono, Stereo, 4-Channel, and 8-Channel, respectively.

Returns:

  • (Integer)


14562
14563
14564
14565
14566
14567
14568
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 14562

class WavSettings < Struct.new(
  :bit_depth,
  :channels,
  :format,
  :sample_rate)
  include Aws::Structure
end

#formatString

The service defaults to using RIFF for WAV outputs. If your output audio is likely to exceed 4 GB in file size, or if you otherwise need the extended support of the RF64 format, set your output WAV file format to RF64.

Returns:

  • (String)


14562
14563
14564
14565
14566
14567
14568
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 14562

class WavSettings < Struct.new(
  :bit_depth,
  :channels,
  :format,
  :sample_rate)
  include Aws::Structure
end

#sample_rateInteger

Sample rate in Hz.

Returns:

  • (Integer)


14562
14563
14564
14565
14566
14567
14568
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 14562

class WavSettings < Struct.new(
  :bit_depth,
  :channels,
  :format,
  :sample_rate)
  include Aws::Structure
end