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 (ForeignPtr ProtectionMeta)
- newZeroProtectionMeta :: MonadIO m => m ProtectionMeta
- noProtectionMeta :: Maybe ProtectionMeta
- protectionMetaGetInfo :: MonadIO m => m MetaInfo
- protectionMetaReadInfo :: ProtectionMeta -> IO Structure
- protectionMetaReadMeta :: ProtectionMeta -> IO Meta
Exported types
newtype ProtectionMeta 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 | |
newZeroProtectionMeta :: MonadIO m => m ProtectionMeta Source
Construct a ProtectionMeta
struct initialized to zero.
Methods
protectionMetaGetInfo
protectionMetaGetInfo :: MonadIO m => m MetaInfo Source