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)
- protectionMeta_info :: AttrLabelProxy "info"
- setProtectionMetaInfo :: MonadIO m => ProtectionMeta -> Ptr Structure -> m ()
- getProtectionMetaMeta :: MonadIO m => ProtectionMeta -> m Meta
- protectionMeta_meta :: AttrLabelProxy "meta"
Exported types
newtype ProtectionMeta Source #
WrappedPtr ProtectionMeta Source # | |
(~) AttrOpTag tag AttrSet => Constructible ProtectionMeta tag Source # | |
((~) * info (ResolveProtectionMetaMethod t ProtectionMeta), MethodInfo * info ProtectionMeta p) => IsLabel t (ProtectionMeta -> p) Source # | |
((~) * info (ResolveProtectionMetaMethod t ProtectionMeta), MethodInfo * info ProtectionMeta p) => IsLabelProxy t (ProtectionMeta -> p) Source # | |
HasAttributeList * ProtectionMeta Source # | |
type AttributeList ProtectionMeta 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 #
protectionMeta_info :: AttrLabelProxy "info" Source #
setProtectionMetaInfo :: MonadIO m => ProtectionMeta -> Ptr Structure -> m () Source #
meta
getProtectionMetaMeta :: MonadIO m => ProtectionMeta -> m Meta Source #
protectionMeta_meta :: AttrLabelProxy "meta" Source #