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 AudioLanguageSelection = AudioLanguageSelection' {}
- newAudioLanguageSelection :: Text -> AudioLanguageSelection
- audioLanguageSelection_languageSelectionPolicy :: Lens' AudioLanguageSelection (Maybe AudioLanguageSelectionPolicy)
- audioLanguageSelection_languageCode :: Lens' AudioLanguageSelection Text
Documentation
data AudioLanguageSelection Source #
Audio Language Selection
See: newAudioLanguageSelection
smart constructor.
AudioLanguageSelection' | |
|
Instances
newAudioLanguageSelection Source #
Create a value of AudioLanguageSelection
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:languageSelectionPolicy:AudioLanguageSelection'
, audioLanguageSelection_languageSelectionPolicy
- When set to "strict", the transport stream demux strictly identifies
audio streams by their language descriptor. If a PMT update occurs such
that an audio stream matching the initially selected language is no
longer present then mute will be encoded until the language returns. If
"loose", then on a PMT update the demux will choose another audio
stream in the program with the same stream type if it can't find one
with the same language.
$sel:languageCode:AudioLanguageSelection'
, audioLanguageSelection_languageCode
- Selects a specific three-letter language code from within an audio
source.
audioLanguageSelection_languageSelectionPolicy :: Lens' AudioLanguageSelection (Maybe AudioLanguageSelectionPolicy) Source #
When set to "strict", the transport stream demux strictly identifies audio streams by their language descriptor. If a PMT update occurs such that an audio stream matching the initially selected language is no longer present then mute will be encoded until the language returns. If "loose", then on a PMT update the demux will choose another audio stream in the program with the same stream type if it can't find one with the same language.
audioLanguageSelection_languageCode :: Lens' AudioLanguageSelection Text Source #
Selects a specific three-letter language code from within an audio source.