AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing WavSettings as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

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)

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

#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)

    Specify the number of channels in this output audio track.

#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.

Possible values:

  • RIFF
  • RF64

Returns:

  • (String)

    The service defaults to using RIFF for WAV outputs.

#sample_rateInteger

Sample rate in Hz.

Returns:

  • (Integer)

    Sample rate in Hz.