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
- Struct
- Aws::MediaConvert::Types::WavSettings
- Defined in:
- (unknown)
Overview
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
-
#bit_depth ⇒ Integer
Specify Bit depth (BitDepth), in bits per sample, to choose the encoding quality for this audio track.
-
#channels ⇒ Integer
Specify the number of channels in this output audio track.
-
#format ⇒ String
The service defaults to using RIFF for WAV outputs.
-
#sample_rate ⇒ Integer
Sample rate in Hz.
Instance Attribute Details
#bit_depth ⇒ Integer
Specify Bit depth (BitDepth), in bits per sample, to choose the encoding quality for this audio track.
#channels ⇒ Integer
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.
#format ⇒ String
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
#sample_rate ⇒ Integer
Sample rate in Hz.