Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
Documentation
data Mp2Settings Source #
Mp2 Settings
See: newMp2Settings
smart constructor.
Mp2Settings' | |
|
Instances
newMp2Settings :: Mp2Settings Source #
Create a value of Mp2Settings
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:bitrate:Mp2Settings'
, mp2Settings_bitrate
- Average bitrate in bits/second.
$sel:codingMode:Mp2Settings'
, mp2Settings_codingMode
- The MPEG2 Audio coding mode. Valid values are codingMode10 (for mono) or
codingMode20 (for stereo).
$sel:sampleRate:Mp2Settings'
, mp2Settings_sampleRate
- Sample rate in Hz.
mp2Settings_bitrate :: Lens' Mp2Settings (Maybe Double) Source #
Average bitrate in bits/second.
mp2Settings_codingMode :: Lens' Mp2Settings (Maybe Mp2CodingMode) Source #
The MPEG2 Audio coding mode. Valid values are codingMode10 (for mono) or codingMode20 (for stereo).
mp2Settings_sampleRate :: Lens' Mp2Settings (Maybe Double) Source #
Sample rate in Hz.