Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data OpusSettings Source #
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value OPUS.
See: newOpusSettings
smart constructor.
OpusSettings' | |
|
Instances
newOpusSettings :: OpusSettings Source #
Create a value of OpusSettings
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:channels:OpusSettings'
, opusSettings_channels
- Specify the number of channels in this output audio track. Choosing Mono
on the console gives you 1 output channel; choosing Stereo gives you 2.
In the API, valid values are 1 and 2.
$sel:sampleRate:OpusSettings'
, opusSettings_sampleRate
- Optional. Sample rate in hz. Valid values are 16000, 24000, and 48000.
The default value is 48000.
$sel:bitrate:OpusSettings'
, opusSettings_bitrate
- Optional. Specify the average bitrate in bits per second. Valid values
are multiples of 8000, from 32000 through 192000. The default value is
96000, which we recommend for quality and bandwidth.
opusSettings_channels :: Lens' OpusSettings (Maybe Natural) Source #
Specify the number of channels in this output audio track. Choosing Mono on the console gives you 1 output channel; choosing Stereo gives you 2. In the API, valid values are 1 and 2.
opusSettings_sampleRate :: Lens' OpusSettings (Maybe Natural) Source #
Optional. Sample rate in hz. Valid values are 16000, 24000, and 48000. The default value is 48000.
opusSettings_bitrate :: Lens' OpusSettings (Maybe Natural) Source #
Optional. Specify the average bitrate in bits per second. Valid values are multiples of 8000, from 32000 through 192000. The default value is 96000, which we recommend for quality and bandwidth.