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)


19252
19253
19254
19255
19256
19257
19258
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 19252

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

#channelsInteger

Specify the number of channels in this output audio track. Valid values are 1 and even numbers up to 64. For example, 1, 2, 4, 6, and so on, up to 64.

Returns:

  • (Integer)


19252
19253
19254
19255
19256
19257
19258
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 19252

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)


19252
19253
19254
19255
19256
19257
19258
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 19252

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

#sample_rateInteger

Sample rate in Hz.

Returns:

  • (Integer)


19252
19253
19254
19255
19256
19257
19258
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 19252

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