module Stratosphere.MediaLive.Channel.AudioCodecSettingsProperty (
        module Exports, AudioCodecSettingsProperty(..),
        mkAudioCodecSettingsProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.MediaLive.Channel.AacSettingsProperty as Exports
import {-# SOURCE #-} Stratosphere.MediaLive.Channel.Ac3SettingsProperty as Exports
import {-# SOURCE #-} Stratosphere.MediaLive.Channel.Eac3AtmosSettingsProperty as Exports
import {-# SOURCE #-} Stratosphere.MediaLive.Channel.Eac3SettingsProperty as Exports
import {-# SOURCE #-} Stratosphere.MediaLive.Channel.Mp2SettingsProperty as Exports
import {-# SOURCE #-} Stratosphere.MediaLive.Channel.PassThroughSettingsProperty as Exports
import {-# SOURCE #-} Stratosphere.MediaLive.Channel.WavSettingsProperty as Exports
import Stratosphere.ResourceProperties
data AudioCodecSettingsProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiocodecsettings.html>
    AudioCodecSettingsProperty {AudioCodecSettingsProperty -> ()
haddock_workaround_ :: (),
                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiocodecsettings.html#cfn-medialive-channel-audiocodecsettings-aacsettings>
                                AudioCodecSettingsProperty -> Maybe AacSettingsProperty
aacSettings :: (Prelude.Maybe AacSettingsProperty),
                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiocodecsettings.html#cfn-medialive-channel-audiocodecsettings-ac3settings>
                                AudioCodecSettingsProperty -> Maybe Ac3SettingsProperty
ac3Settings :: (Prelude.Maybe Ac3SettingsProperty),
                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiocodecsettings.html#cfn-medialive-channel-audiocodecsettings-eac3atmossettings>
                                AudioCodecSettingsProperty -> Maybe Eac3AtmosSettingsProperty
eac3AtmosSettings :: (Prelude.Maybe Eac3AtmosSettingsProperty),
                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiocodecsettings.html#cfn-medialive-channel-audiocodecsettings-eac3settings>
                                AudioCodecSettingsProperty -> Maybe Eac3SettingsProperty
eac3Settings :: (Prelude.Maybe Eac3SettingsProperty),
                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiocodecsettings.html#cfn-medialive-channel-audiocodecsettings-mp2settings>
                                AudioCodecSettingsProperty -> Maybe Mp2SettingsProperty
mp2Settings :: (Prelude.Maybe Mp2SettingsProperty),
                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiocodecsettings.html#cfn-medialive-channel-audiocodecsettings-passthroughsettings>
                                AudioCodecSettingsProperty -> Maybe PassThroughSettingsProperty
passThroughSettings :: (Prelude.Maybe PassThroughSettingsProperty),
                                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiocodecsettings.html#cfn-medialive-channel-audiocodecsettings-wavsettings>
                                AudioCodecSettingsProperty -> Maybe WavSettingsProperty
wavSettings :: (Prelude.Maybe WavSettingsProperty)}
  deriving stock (AudioCodecSettingsProperty -> AudioCodecSettingsProperty -> Bool
(AudioCodecSettingsProperty -> AudioCodecSettingsProperty -> Bool)
-> (AudioCodecSettingsProperty
    -> AudioCodecSettingsProperty -> Bool)
-> Eq AudioCodecSettingsProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: AudioCodecSettingsProperty -> AudioCodecSettingsProperty -> Bool
== :: AudioCodecSettingsProperty -> AudioCodecSettingsProperty -> Bool
$c/= :: AudioCodecSettingsProperty -> AudioCodecSettingsProperty -> Bool
/= :: AudioCodecSettingsProperty -> AudioCodecSettingsProperty -> Bool
Prelude.Eq, Int -> AudioCodecSettingsProperty -> ShowS
[AudioCodecSettingsProperty] -> ShowS
AudioCodecSettingsProperty -> String
(Int -> AudioCodecSettingsProperty -> ShowS)
-> (AudioCodecSettingsProperty -> String)
-> ([AudioCodecSettingsProperty] -> ShowS)
-> Show AudioCodecSettingsProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> AudioCodecSettingsProperty -> ShowS
showsPrec :: Int -> AudioCodecSettingsProperty -> ShowS
$cshow :: AudioCodecSettingsProperty -> String
show :: AudioCodecSettingsProperty -> String
$cshowList :: [AudioCodecSettingsProperty] -> ShowS
showList :: [AudioCodecSettingsProperty] -> ShowS
Prelude.Show)
mkAudioCodecSettingsProperty :: AudioCodecSettingsProperty
mkAudioCodecSettingsProperty :: AudioCodecSettingsProperty
mkAudioCodecSettingsProperty
  = AudioCodecSettingsProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), aacSettings :: Maybe AacSettingsProperty
aacSettings = Maybe AacSettingsProperty
forall a. Maybe a
Prelude.Nothing,
       ac3Settings :: Maybe Ac3SettingsProperty
ac3Settings = Maybe Ac3SettingsProperty
forall a. Maybe a
Prelude.Nothing, eac3AtmosSettings :: Maybe Eac3AtmosSettingsProperty
eac3AtmosSettings = Maybe Eac3AtmosSettingsProperty
forall a. Maybe a
Prelude.Nothing,
       eac3Settings :: Maybe Eac3SettingsProperty
eac3Settings = Maybe Eac3SettingsProperty
forall a. Maybe a
Prelude.Nothing, mp2Settings :: Maybe Mp2SettingsProperty
mp2Settings = Maybe Mp2SettingsProperty
forall a. Maybe a
Prelude.Nothing,
       passThroughSettings :: Maybe PassThroughSettingsProperty
passThroughSettings = Maybe PassThroughSettingsProperty
forall a. Maybe a
Prelude.Nothing,
       wavSettings :: Maybe WavSettingsProperty
wavSettings = Maybe WavSettingsProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties AudioCodecSettingsProperty where
  toResourceProperties :: AudioCodecSettingsProperty -> ResourceProperties
toResourceProperties AudioCodecSettingsProperty {Maybe AacSettingsProperty
Maybe Ac3SettingsProperty
Maybe Eac3AtmosSettingsProperty
Maybe Eac3SettingsProperty
Maybe Mp2SettingsProperty
Maybe PassThroughSettingsProperty
Maybe WavSettingsProperty
()
haddock_workaround_ :: AudioCodecSettingsProperty -> ()
aacSettings :: AudioCodecSettingsProperty -> Maybe AacSettingsProperty
ac3Settings :: AudioCodecSettingsProperty -> Maybe Ac3SettingsProperty
eac3AtmosSettings :: AudioCodecSettingsProperty -> Maybe Eac3AtmosSettingsProperty
eac3Settings :: AudioCodecSettingsProperty -> Maybe Eac3SettingsProperty
mp2Settings :: AudioCodecSettingsProperty -> Maybe Mp2SettingsProperty
passThroughSettings :: AudioCodecSettingsProperty -> Maybe PassThroughSettingsProperty
wavSettings :: AudioCodecSettingsProperty -> Maybe WavSettingsProperty
haddock_workaround_ :: ()
aacSettings :: Maybe AacSettingsProperty
ac3Settings :: Maybe Ac3SettingsProperty
eac3AtmosSettings :: Maybe Eac3AtmosSettingsProperty
eac3Settings :: Maybe Eac3SettingsProperty
mp2Settings :: Maybe Mp2SettingsProperty
passThroughSettings :: Maybe PassThroughSettingsProperty
wavSettings :: Maybe WavSettingsProperty
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::MediaLive::Channel.AudioCodecSettings",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                           [Key -> AacSettingsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AacSettings" (AacSettingsProperty -> (Key, Value))
-> Maybe AacSettingsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AacSettingsProperty
aacSettings,
                            Key -> Ac3SettingsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Ac3Settings" (Ac3SettingsProperty -> (Key, Value))
-> Maybe Ac3SettingsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Ac3SettingsProperty
ac3Settings,
                            Key -> Eac3AtmosSettingsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Eac3AtmosSettings" (Eac3AtmosSettingsProperty -> (Key, Value))
-> Maybe Eac3AtmosSettingsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Eac3AtmosSettingsProperty
eac3AtmosSettings,
                            Key -> Eac3SettingsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Eac3Settings" (Eac3SettingsProperty -> (Key, Value))
-> Maybe Eac3SettingsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Eac3SettingsProperty
eac3Settings,
                            Key -> Mp2SettingsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Mp2Settings" (Mp2SettingsProperty -> (Key, Value))
-> Maybe Mp2SettingsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Mp2SettingsProperty
mp2Settings,
                            Key -> PassThroughSettingsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"PassThroughSettings" (PassThroughSettingsProperty -> (Key, Value))
-> Maybe PassThroughSettingsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe PassThroughSettingsProperty
passThroughSettings,
                            Key -> WavSettingsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"WavSettings" (WavSettingsProperty -> (Key, Value))
-> Maybe WavSettingsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe WavSettingsProperty
wavSettings])}
instance JSON.ToJSON AudioCodecSettingsProperty where
  toJSON :: AudioCodecSettingsProperty -> Value
toJSON AudioCodecSettingsProperty {Maybe AacSettingsProperty
Maybe Ac3SettingsProperty
Maybe Eac3AtmosSettingsProperty
Maybe Eac3SettingsProperty
Maybe Mp2SettingsProperty
Maybe PassThroughSettingsProperty
Maybe WavSettingsProperty
()
haddock_workaround_ :: AudioCodecSettingsProperty -> ()
aacSettings :: AudioCodecSettingsProperty -> Maybe AacSettingsProperty
ac3Settings :: AudioCodecSettingsProperty -> Maybe Ac3SettingsProperty
eac3AtmosSettings :: AudioCodecSettingsProperty -> Maybe Eac3AtmosSettingsProperty
eac3Settings :: AudioCodecSettingsProperty -> Maybe Eac3SettingsProperty
mp2Settings :: AudioCodecSettingsProperty -> Maybe Mp2SettingsProperty
passThroughSettings :: AudioCodecSettingsProperty -> Maybe PassThroughSettingsProperty
wavSettings :: AudioCodecSettingsProperty -> Maybe WavSettingsProperty
haddock_workaround_ :: ()
aacSettings :: Maybe AacSettingsProperty
ac3Settings :: Maybe Ac3SettingsProperty
eac3AtmosSettings :: Maybe Eac3AtmosSettingsProperty
eac3Settings :: Maybe Eac3SettingsProperty
mp2Settings :: Maybe Mp2SettingsProperty
passThroughSettings :: Maybe PassThroughSettingsProperty
wavSettings :: Maybe WavSettingsProperty
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
              [Key -> AacSettingsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AacSettings" (AacSettingsProperty -> (Key, Value))
-> Maybe AacSettingsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AacSettingsProperty
aacSettings,
               Key -> Ac3SettingsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Ac3Settings" (Ac3SettingsProperty -> (Key, Value))
-> Maybe Ac3SettingsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Ac3SettingsProperty
ac3Settings,
               Key -> Eac3AtmosSettingsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Eac3AtmosSettings" (Eac3AtmosSettingsProperty -> (Key, Value))
-> Maybe Eac3AtmosSettingsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Eac3AtmosSettingsProperty
eac3AtmosSettings,
               Key -> Eac3SettingsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Eac3Settings" (Eac3SettingsProperty -> (Key, Value))
-> Maybe Eac3SettingsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Eac3SettingsProperty
eac3Settings,
               Key -> Mp2SettingsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Mp2Settings" (Mp2SettingsProperty -> (Key, Value))
-> Maybe Mp2SettingsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Mp2SettingsProperty
mp2Settings,
               Key -> PassThroughSettingsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"PassThroughSettings" (PassThroughSettingsProperty -> (Key, Value))
-> Maybe PassThroughSettingsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe PassThroughSettingsProperty
passThroughSettings,
               Key -> WavSettingsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"WavSettings" (WavSettingsProperty -> (Key, Value))
-> Maybe WavSettingsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe WavSettingsProperty
wavSettings]))
instance Property "AacSettings" AudioCodecSettingsProperty where
  type PropertyType "AacSettings" AudioCodecSettingsProperty = AacSettingsProperty
  set :: PropertyType "AacSettings" AudioCodecSettingsProperty
-> AudioCodecSettingsProperty -> AudioCodecSettingsProperty
set PropertyType "AacSettings" AudioCodecSettingsProperty
newValue AudioCodecSettingsProperty {Maybe AacSettingsProperty
Maybe Ac3SettingsProperty
Maybe Eac3AtmosSettingsProperty
Maybe Eac3SettingsProperty
Maybe Mp2SettingsProperty
Maybe PassThroughSettingsProperty
Maybe WavSettingsProperty
()
haddock_workaround_ :: AudioCodecSettingsProperty -> ()
aacSettings :: AudioCodecSettingsProperty -> Maybe AacSettingsProperty
ac3Settings :: AudioCodecSettingsProperty -> Maybe Ac3SettingsProperty
eac3AtmosSettings :: AudioCodecSettingsProperty -> Maybe Eac3AtmosSettingsProperty
eac3Settings :: AudioCodecSettingsProperty -> Maybe Eac3SettingsProperty
mp2Settings :: AudioCodecSettingsProperty -> Maybe Mp2SettingsProperty
passThroughSettings :: AudioCodecSettingsProperty -> Maybe PassThroughSettingsProperty
wavSettings :: AudioCodecSettingsProperty -> Maybe WavSettingsProperty
haddock_workaround_ :: ()
aacSettings :: Maybe AacSettingsProperty
ac3Settings :: Maybe Ac3SettingsProperty
eac3AtmosSettings :: Maybe Eac3AtmosSettingsProperty
eac3Settings :: Maybe Eac3SettingsProperty
mp2Settings :: Maybe Mp2SettingsProperty
passThroughSettings :: Maybe PassThroughSettingsProperty
wavSettings :: Maybe WavSettingsProperty
..}
    = AudioCodecSettingsProperty
        {aacSettings :: Maybe AacSettingsProperty
aacSettings = AacSettingsProperty -> Maybe AacSettingsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AacSettings" AudioCodecSettingsProperty
AacSettingsProperty
newValue, Maybe Ac3SettingsProperty
Maybe Eac3AtmosSettingsProperty
Maybe Eac3SettingsProperty
Maybe Mp2SettingsProperty
Maybe PassThroughSettingsProperty
Maybe WavSettingsProperty
()
haddock_workaround_ :: ()
ac3Settings :: Maybe Ac3SettingsProperty
eac3AtmosSettings :: Maybe Eac3AtmosSettingsProperty
eac3Settings :: Maybe Eac3SettingsProperty
mp2Settings :: Maybe Mp2SettingsProperty
passThroughSettings :: Maybe PassThroughSettingsProperty
wavSettings :: Maybe WavSettingsProperty
haddock_workaround_ :: ()
ac3Settings :: Maybe Ac3SettingsProperty
eac3AtmosSettings :: Maybe Eac3AtmosSettingsProperty
eac3Settings :: Maybe Eac3SettingsProperty
mp2Settings :: Maybe Mp2SettingsProperty
passThroughSettings :: Maybe PassThroughSettingsProperty
wavSettings :: Maybe WavSettingsProperty
..}
instance Property "Ac3Settings" AudioCodecSettingsProperty where
  type PropertyType "Ac3Settings" AudioCodecSettingsProperty = Ac3SettingsProperty
  set :: PropertyType "Ac3Settings" AudioCodecSettingsProperty
-> AudioCodecSettingsProperty -> AudioCodecSettingsProperty
set PropertyType "Ac3Settings" AudioCodecSettingsProperty
newValue AudioCodecSettingsProperty {Maybe AacSettingsProperty
Maybe Ac3SettingsProperty
Maybe Eac3AtmosSettingsProperty
Maybe Eac3SettingsProperty
Maybe Mp2SettingsProperty
Maybe PassThroughSettingsProperty
Maybe WavSettingsProperty
()
haddock_workaround_ :: AudioCodecSettingsProperty -> ()
aacSettings :: AudioCodecSettingsProperty -> Maybe AacSettingsProperty
ac3Settings :: AudioCodecSettingsProperty -> Maybe Ac3SettingsProperty
eac3AtmosSettings :: AudioCodecSettingsProperty -> Maybe Eac3AtmosSettingsProperty
eac3Settings :: AudioCodecSettingsProperty -> Maybe Eac3SettingsProperty
mp2Settings :: AudioCodecSettingsProperty -> Maybe Mp2SettingsProperty
passThroughSettings :: AudioCodecSettingsProperty -> Maybe PassThroughSettingsProperty
wavSettings :: AudioCodecSettingsProperty -> Maybe WavSettingsProperty
haddock_workaround_ :: ()
aacSettings :: Maybe AacSettingsProperty
ac3Settings :: Maybe Ac3SettingsProperty
eac3AtmosSettings :: Maybe Eac3AtmosSettingsProperty
eac3Settings :: Maybe Eac3SettingsProperty
mp2Settings :: Maybe Mp2SettingsProperty
passThroughSettings :: Maybe PassThroughSettingsProperty
wavSettings :: Maybe WavSettingsProperty
..}
    = AudioCodecSettingsProperty
        {ac3Settings :: Maybe Ac3SettingsProperty
ac3Settings = Ac3SettingsProperty -> Maybe Ac3SettingsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Ac3Settings" AudioCodecSettingsProperty
Ac3SettingsProperty
newValue, Maybe AacSettingsProperty
Maybe Eac3AtmosSettingsProperty
Maybe Eac3SettingsProperty
Maybe Mp2SettingsProperty
Maybe PassThroughSettingsProperty
Maybe WavSettingsProperty
()
haddock_workaround_ :: ()
aacSettings :: Maybe AacSettingsProperty
eac3AtmosSettings :: Maybe Eac3AtmosSettingsProperty
eac3Settings :: Maybe Eac3SettingsProperty
mp2Settings :: Maybe Mp2SettingsProperty
passThroughSettings :: Maybe PassThroughSettingsProperty
wavSettings :: Maybe WavSettingsProperty
haddock_workaround_ :: ()
aacSettings :: Maybe AacSettingsProperty
eac3AtmosSettings :: Maybe Eac3AtmosSettingsProperty
eac3Settings :: Maybe Eac3SettingsProperty
mp2Settings :: Maybe Mp2SettingsProperty
passThroughSettings :: Maybe PassThroughSettingsProperty
wavSettings :: Maybe WavSettingsProperty
..}
instance Property "Eac3AtmosSettings" AudioCodecSettingsProperty where
  type PropertyType "Eac3AtmosSettings" AudioCodecSettingsProperty = Eac3AtmosSettingsProperty
  set :: PropertyType "Eac3AtmosSettings" AudioCodecSettingsProperty
-> AudioCodecSettingsProperty -> AudioCodecSettingsProperty
set PropertyType "Eac3AtmosSettings" AudioCodecSettingsProperty
newValue AudioCodecSettingsProperty {Maybe AacSettingsProperty
Maybe Ac3SettingsProperty
Maybe Eac3AtmosSettingsProperty
Maybe Eac3SettingsProperty
Maybe Mp2SettingsProperty
Maybe PassThroughSettingsProperty
Maybe WavSettingsProperty
()
haddock_workaround_ :: AudioCodecSettingsProperty -> ()
aacSettings :: AudioCodecSettingsProperty -> Maybe AacSettingsProperty
ac3Settings :: AudioCodecSettingsProperty -> Maybe Ac3SettingsProperty
eac3AtmosSettings :: AudioCodecSettingsProperty -> Maybe Eac3AtmosSettingsProperty
eac3Settings :: AudioCodecSettingsProperty -> Maybe Eac3SettingsProperty
mp2Settings :: AudioCodecSettingsProperty -> Maybe Mp2SettingsProperty
passThroughSettings :: AudioCodecSettingsProperty -> Maybe PassThroughSettingsProperty
wavSettings :: AudioCodecSettingsProperty -> Maybe WavSettingsProperty
haddock_workaround_ :: ()
aacSettings :: Maybe AacSettingsProperty
ac3Settings :: Maybe Ac3SettingsProperty
eac3AtmosSettings :: Maybe Eac3AtmosSettingsProperty
eac3Settings :: Maybe Eac3SettingsProperty
mp2Settings :: Maybe Mp2SettingsProperty
passThroughSettings :: Maybe PassThroughSettingsProperty
wavSettings :: Maybe WavSettingsProperty
..}
    = AudioCodecSettingsProperty
        {eac3AtmosSettings :: Maybe Eac3AtmosSettingsProperty
eac3AtmosSettings = Eac3AtmosSettingsProperty -> Maybe Eac3AtmosSettingsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Eac3AtmosSettings" AudioCodecSettingsProperty
Eac3AtmosSettingsProperty
newValue, Maybe AacSettingsProperty
Maybe Ac3SettingsProperty
Maybe Eac3SettingsProperty
Maybe Mp2SettingsProperty
Maybe PassThroughSettingsProperty
Maybe WavSettingsProperty
()
haddock_workaround_ :: ()
aacSettings :: Maybe AacSettingsProperty
ac3Settings :: Maybe Ac3SettingsProperty
eac3Settings :: Maybe Eac3SettingsProperty
mp2Settings :: Maybe Mp2SettingsProperty
passThroughSettings :: Maybe PassThroughSettingsProperty
wavSettings :: Maybe WavSettingsProperty
haddock_workaround_ :: ()
aacSettings :: Maybe AacSettingsProperty
ac3Settings :: Maybe Ac3SettingsProperty
eac3Settings :: Maybe Eac3SettingsProperty
mp2Settings :: Maybe Mp2SettingsProperty
passThroughSettings :: Maybe PassThroughSettingsProperty
wavSettings :: Maybe WavSettingsProperty
..}
instance Property "Eac3Settings" AudioCodecSettingsProperty where
  type PropertyType "Eac3Settings" AudioCodecSettingsProperty = Eac3SettingsProperty
  set :: PropertyType "Eac3Settings" AudioCodecSettingsProperty
-> AudioCodecSettingsProperty -> AudioCodecSettingsProperty
set PropertyType "Eac3Settings" AudioCodecSettingsProperty
newValue AudioCodecSettingsProperty {Maybe AacSettingsProperty
Maybe Ac3SettingsProperty
Maybe Eac3AtmosSettingsProperty
Maybe Eac3SettingsProperty
Maybe Mp2SettingsProperty
Maybe PassThroughSettingsProperty
Maybe WavSettingsProperty
()
haddock_workaround_ :: AudioCodecSettingsProperty -> ()
aacSettings :: AudioCodecSettingsProperty -> Maybe AacSettingsProperty
ac3Settings :: AudioCodecSettingsProperty -> Maybe Ac3SettingsProperty
eac3AtmosSettings :: AudioCodecSettingsProperty -> Maybe Eac3AtmosSettingsProperty
eac3Settings :: AudioCodecSettingsProperty -> Maybe Eac3SettingsProperty
mp2Settings :: AudioCodecSettingsProperty -> Maybe Mp2SettingsProperty
passThroughSettings :: AudioCodecSettingsProperty -> Maybe PassThroughSettingsProperty
wavSettings :: AudioCodecSettingsProperty -> Maybe WavSettingsProperty
haddock_workaround_ :: ()
aacSettings :: Maybe AacSettingsProperty
ac3Settings :: Maybe Ac3SettingsProperty
eac3AtmosSettings :: Maybe Eac3AtmosSettingsProperty
eac3Settings :: Maybe Eac3SettingsProperty
mp2Settings :: Maybe Mp2SettingsProperty
passThroughSettings :: Maybe PassThroughSettingsProperty
wavSettings :: Maybe WavSettingsProperty
..}
    = AudioCodecSettingsProperty
        {eac3Settings :: Maybe Eac3SettingsProperty
eac3Settings = Eac3SettingsProperty -> Maybe Eac3SettingsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Eac3Settings" AudioCodecSettingsProperty
Eac3SettingsProperty
newValue, Maybe AacSettingsProperty
Maybe Ac3SettingsProperty
Maybe Eac3AtmosSettingsProperty
Maybe Mp2SettingsProperty
Maybe PassThroughSettingsProperty
Maybe WavSettingsProperty
()
haddock_workaround_ :: ()
aacSettings :: Maybe AacSettingsProperty
ac3Settings :: Maybe Ac3SettingsProperty
eac3AtmosSettings :: Maybe Eac3AtmosSettingsProperty
mp2Settings :: Maybe Mp2SettingsProperty
passThroughSettings :: Maybe PassThroughSettingsProperty
wavSettings :: Maybe WavSettingsProperty
haddock_workaround_ :: ()
aacSettings :: Maybe AacSettingsProperty
ac3Settings :: Maybe Ac3SettingsProperty
eac3AtmosSettings :: Maybe Eac3AtmosSettingsProperty
mp2Settings :: Maybe Mp2SettingsProperty
passThroughSettings :: Maybe PassThroughSettingsProperty
wavSettings :: Maybe WavSettingsProperty
..}
instance Property "Mp2Settings" AudioCodecSettingsProperty where
  type PropertyType "Mp2Settings" AudioCodecSettingsProperty = Mp2SettingsProperty
  set :: PropertyType "Mp2Settings" AudioCodecSettingsProperty
-> AudioCodecSettingsProperty -> AudioCodecSettingsProperty
set PropertyType "Mp2Settings" AudioCodecSettingsProperty
newValue AudioCodecSettingsProperty {Maybe AacSettingsProperty
Maybe Ac3SettingsProperty
Maybe Eac3AtmosSettingsProperty
Maybe Eac3SettingsProperty
Maybe Mp2SettingsProperty
Maybe PassThroughSettingsProperty
Maybe WavSettingsProperty
()
haddock_workaround_ :: AudioCodecSettingsProperty -> ()
aacSettings :: AudioCodecSettingsProperty -> Maybe AacSettingsProperty
ac3Settings :: AudioCodecSettingsProperty -> Maybe Ac3SettingsProperty
eac3AtmosSettings :: AudioCodecSettingsProperty -> Maybe Eac3AtmosSettingsProperty
eac3Settings :: AudioCodecSettingsProperty -> Maybe Eac3SettingsProperty
mp2Settings :: AudioCodecSettingsProperty -> Maybe Mp2SettingsProperty
passThroughSettings :: AudioCodecSettingsProperty -> Maybe PassThroughSettingsProperty
wavSettings :: AudioCodecSettingsProperty -> Maybe WavSettingsProperty
haddock_workaround_ :: ()
aacSettings :: Maybe AacSettingsProperty
ac3Settings :: Maybe Ac3SettingsProperty
eac3AtmosSettings :: Maybe Eac3AtmosSettingsProperty
eac3Settings :: Maybe Eac3SettingsProperty
mp2Settings :: Maybe Mp2SettingsProperty
passThroughSettings :: Maybe PassThroughSettingsProperty
wavSettings :: Maybe WavSettingsProperty
..}
    = AudioCodecSettingsProperty
        {mp2Settings :: Maybe Mp2SettingsProperty
mp2Settings = Mp2SettingsProperty -> Maybe Mp2SettingsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Mp2Settings" AudioCodecSettingsProperty
Mp2SettingsProperty
newValue, Maybe AacSettingsProperty
Maybe Ac3SettingsProperty
Maybe Eac3AtmosSettingsProperty
Maybe Eac3SettingsProperty
Maybe PassThroughSettingsProperty
Maybe WavSettingsProperty
()
haddock_workaround_ :: ()
aacSettings :: Maybe AacSettingsProperty
ac3Settings :: Maybe Ac3SettingsProperty
eac3AtmosSettings :: Maybe Eac3AtmosSettingsProperty
eac3Settings :: Maybe Eac3SettingsProperty
passThroughSettings :: Maybe PassThroughSettingsProperty
wavSettings :: Maybe WavSettingsProperty
haddock_workaround_ :: ()
aacSettings :: Maybe AacSettingsProperty
ac3Settings :: Maybe Ac3SettingsProperty
eac3AtmosSettings :: Maybe Eac3AtmosSettingsProperty
eac3Settings :: Maybe Eac3SettingsProperty
passThroughSettings :: Maybe PassThroughSettingsProperty
wavSettings :: Maybe WavSettingsProperty
..}
instance Property "PassThroughSettings" AudioCodecSettingsProperty where
  type PropertyType "PassThroughSettings" AudioCodecSettingsProperty = PassThroughSettingsProperty
  set :: PropertyType "PassThroughSettings" AudioCodecSettingsProperty
-> AudioCodecSettingsProperty -> AudioCodecSettingsProperty
set PropertyType "PassThroughSettings" AudioCodecSettingsProperty
newValue AudioCodecSettingsProperty {Maybe AacSettingsProperty
Maybe Ac3SettingsProperty
Maybe Eac3AtmosSettingsProperty
Maybe Eac3SettingsProperty
Maybe Mp2SettingsProperty
Maybe PassThroughSettingsProperty
Maybe WavSettingsProperty
()
haddock_workaround_ :: AudioCodecSettingsProperty -> ()
aacSettings :: AudioCodecSettingsProperty -> Maybe AacSettingsProperty
ac3Settings :: AudioCodecSettingsProperty -> Maybe Ac3SettingsProperty
eac3AtmosSettings :: AudioCodecSettingsProperty -> Maybe Eac3AtmosSettingsProperty
eac3Settings :: AudioCodecSettingsProperty -> Maybe Eac3SettingsProperty
mp2Settings :: AudioCodecSettingsProperty -> Maybe Mp2SettingsProperty
passThroughSettings :: AudioCodecSettingsProperty -> Maybe PassThroughSettingsProperty
wavSettings :: AudioCodecSettingsProperty -> Maybe WavSettingsProperty
haddock_workaround_ :: ()
aacSettings :: Maybe AacSettingsProperty
ac3Settings :: Maybe Ac3SettingsProperty
eac3AtmosSettings :: Maybe Eac3AtmosSettingsProperty
eac3Settings :: Maybe Eac3SettingsProperty
mp2Settings :: Maybe Mp2SettingsProperty
passThroughSettings :: Maybe PassThroughSettingsProperty
wavSettings :: Maybe WavSettingsProperty
..}
    = AudioCodecSettingsProperty
        {passThroughSettings :: Maybe PassThroughSettingsProperty
passThroughSettings = PassThroughSettingsProperty -> Maybe PassThroughSettingsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "PassThroughSettings" AudioCodecSettingsProperty
PassThroughSettingsProperty
newValue, Maybe AacSettingsProperty
Maybe Ac3SettingsProperty
Maybe Eac3AtmosSettingsProperty
Maybe Eac3SettingsProperty
Maybe Mp2SettingsProperty
Maybe WavSettingsProperty
()
haddock_workaround_ :: ()
aacSettings :: Maybe AacSettingsProperty
ac3Settings :: Maybe Ac3SettingsProperty
eac3AtmosSettings :: Maybe Eac3AtmosSettingsProperty
eac3Settings :: Maybe Eac3SettingsProperty
mp2Settings :: Maybe Mp2SettingsProperty
wavSettings :: Maybe WavSettingsProperty
haddock_workaround_ :: ()
aacSettings :: Maybe AacSettingsProperty
ac3Settings :: Maybe Ac3SettingsProperty
eac3AtmosSettings :: Maybe Eac3AtmosSettingsProperty
eac3Settings :: Maybe Eac3SettingsProperty
mp2Settings :: Maybe Mp2SettingsProperty
wavSettings :: Maybe WavSettingsProperty
..}
instance Property "WavSettings" AudioCodecSettingsProperty where
  type PropertyType "WavSettings" AudioCodecSettingsProperty = WavSettingsProperty
  set :: PropertyType "WavSettings" AudioCodecSettingsProperty
-> AudioCodecSettingsProperty -> AudioCodecSettingsProperty
set PropertyType "WavSettings" AudioCodecSettingsProperty
newValue AudioCodecSettingsProperty {Maybe AacSettingsProperty
Maybe Ac3SettingsProperty
Maybe Eac3AtmosSettingsProperty
Maybe Eac3SettingsProperty
Maybe Mp2SettingsProperty
Maybe PassThroughSettingsProperty
Maybe WavSettingsProperty
()
haddock_workaround_ :: AudioCodecSettingsProperty -> ()
aacSettings :: AudioCodecSettingsProperty -> Maybe AacSettingsProperty
ac3Settings :: AudioCodecSettingsProperty -> Maybe Ac3SettingsProperty
eac3AtmosSettings :: AudioCodecSettingsProperty -> Maybe Eac3AtmosSettingsProperty
eac3Settings :: AudioCodecSettingsProperty -> Maybe Eac3SettingsProperty
mp2Settings :: AudioCodecSettingsProperty -> Maybe Mp2SettingsProperty
passThroughSettings :: AudioCodecSettingsProperty -> Maybe PassThroughSettingsProperty
wavSettings :: AudioCodecSettingsProperty -> Maybe WavSettingsProperty
haddock_workaround_ :: ()
aacSettings :: Maybe AacSettingsProperty
ac3Settings :: Maybe Ac3SettingsProperty
eac3AtmosSettings :: Maybe Eac3AtmosSettingsProperty
eac3Settings :: Maybe Eac3SettingsProperty
mp2Settings :: Maybe Mp2SettingsProperty
passThroughSettings :: Maybe PassThroughSettingsProperty
wavSettings :: Maybe WavSettingsProperty
..}
    = AudioCodecSettingsProperty
        {wavSettings :: Maybe WavSettingsProperty
wavSettings = WavSettingsProperty -> Maybe WavSettingsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "WavSettings" AudioCodecSettingsProperty
WavSettingsProperty
newValue, Maybe AacSettingsProperty
Maybe Ac3SettingsProperty
Maybe Eac3AtmosSettingsProperty
Maybe Eac3SettingsProperty
Maybe Mp2SettingsProperty
Maybe PassThroughSettingsProperty
()
haddock_workaround_ :: ()
aacSettings :: Maybe AacSettingsProperty
ac3Settings :: Maybe Ac3SettingsProperty
eac3AtmosSettings :: Maybe Eac3AtmosSettingsProperty
eac3Settings :: Maybe Eac3SettingsProperty
mp2Settings :: Maybe Mp2SettingsProperty
passThroughSettings :: Maybe PassThroughSettingsProperty
haddock_workaround_ :: ()
aacSettings :: Maybe AacSettingsProperty
ac3Settings :: Maybe Ac3SettingsProperty
eac3AtmosSettings :: Maybe Eac3AtmosSettingsProperty
eac3Settings :: Maybe Eac3SettingsProperty
mp2Settings :: Maybe Mp2SettingsProperty
passThroughSettings :: Maybe PassThroughSettingsProperty
..}