Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
Metadata type that holds information about a sample from a protection-protected track, including the information needed to decrypt it (if it is encrypted).
- newtype ProtectionMeta = ProtectionMeta (ManagedPtr ProtectionMeta)
- newZeroProtectionMeta :: MonadIO m => m ProtectionMeta
- noProtectionMeta :: Maybe ProtectionMeta
- protectionMetaGetInfo :: (HasCallStack, MonadIO m) => m MetaInfo
- clearProtectionMetaInfo :: MonadIO m => ProtectionMeta -> m ()
- getProtectionMetaInfo :: MonadIO m => ProtectionMeta -> m (Maybe Structure)
- setProtectionMetaInfo :: MonadIO m => ProtectionMeta -> Ptr Structure -> m ()
- getProtectionMetaMeta :: MonadIO m => ProtectionMeta -> m Meta
Exported types
newtype ProtectionMeta Source #
WrappedPtr ProtectionMeta Source # | |
(~) AttrOpTag tag AttrSet => Constructible ProtectionMeta tag Source # | |
newZeroProtectionMeta :: MonadIO m => m ProtectionMeta Source #
Construct a ProtectionMeta
struct initialized to zero.
Methods
getInfo
protectionMetaGetInfo :: (HasCallStack, MonadIO m) => m MetaInfo Source #
No description available in the introspection data.
Properties
info
clearProtectionMetaInfo :: MonadIO m => ProtectionMeta -> m () Source #
getProtectionMetaInfo :: MonadIO m => ProtectionMeta -> m (Maybe Structure) Source #
setProtectionMetaInfo :: MonadIO m => ProtectionMeta -> Ptr Structure -> m () Source #
meta
getProtectionMetaMeta :: MonadIO m => ProtectionMeta -> m Meta Source #