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 |
Synopsis
- data AudioMetadata = AudioMetadata' {}
- newAudioMetadata :: AudioMetadata
- audioMetadata_codec :: Lens' AudioMetadata (Maybe Text)
- audioMetadata_sampleRate :: Lens' AudioMetadata (Maybe Natural)
- audioMetadata_numberOfChannels :: Lens' AudioMetadata (Maybe Natural)
- audioMetadata_durationMillis :: Lens' AudioMetadata (Maybe Natural)
Documentation
data AudioMetadata Source #
Metadata information about an audio stream. An array of AudioMetadata
objects for the audio streams found in a stored video is returned by
GetSegmentDetection.
See: newAudioMetadata
smart constructor.
AudioMetadata' | |
|
Instances
newAudioMetadata :: AudioMetadata Source #
Create a value of AudioMetadata
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:codec:AudioMetadata'
, audioMetadata_codec
- The audio codec used to encode or decode the audio stream.
$sel:sampleRate:AudioMetadata'
, audioMetadata_sampleRate
- The sample rate for the audio stream.
$sel:numberOfChannels:AudioMetadata'
, audioMetadata_numberOfChannels
- The number of audio channels in the segment.
$sel:durationMillis:AudioMetadata'
, audioMetadata_durationMillis
- The duration of the audio stream in milliseconds.
audioMetadata_codec :: Lens' AudioMetadata (Maybe Text) Source #
The audio codec used to encode or decode the audio stream.
audioMetadata_sampleRate :: Lens' AudioMetadata (Maybe Natural) Source #
The sample rate for the audio stream.
audioMetadata_numberOfChannels :: Lens' AudioMetadata (Maybe Natural) Source #
The number of audio channels in the segment.
audioMetadata_durationMillis :: Lens' AudioMetadata (Maybe Natural) Source #
The duration of the audio stream in milliseconds.