Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype TocEntry = TocEntry (ManagedPtr TocEntry)
- noTocEntry :: Maybe TocEntry
- tocEntryAppendSubEntry :: (HasCallStack, MonadIO m) => TocEntry -> TocEntry -> m ()
- tocEntryGetEntryType :: (HasCallStack, MonadIO m) => TocEntry -> m TocEntryType
- tocEntryGetLoop :: (HasCallStack, MonadIO m) => TocEntry -> m (Bool, TocLoopType, Int32)
- tocEntryGetParent :: (HasCallStack, MonadIO m) => TocEntry -> m (Maybe TocEntry)
- tocEntryGetStartStopTimes :: (HasCallStack, MonadIO m) => TocEntry -> m (Bool, Int64, Int64)
- tocEntryGetSubEntries :: (HasCallStack, MonadIO m) => TocEntry -> m [TocEntry]
- tocEntryGetTags :: (HasCallStack, MonadIO m) => TocEntry -> m TagList
- tocEntryGetToc :: (HasCallStack, MonadIO m) => TocEntry -> m Toc
- tocEntryGetUid :: (HasCallStack, MonadIO m) => TocEntry -> m Text
- tocEntryIsAlternative :: (HasCallStack, MonadIO m) => TocEntry -> m Bool
- tocEntryIsSequence :: (HasCallStack, MonadIO m) => TocEntry -> m Bool
- tocEntryMergeTags :: (HasCallStack, MonadIO m) => TocEntry -> Maybe TagList -> TagMergeMode -> m ()
- tocEntryNew :: (HasCallStack, MonadIO m) => TocEntryType -> Text -> m TocEntry
- tocEntrySetLoop :: (HasCallStack, MonadIO m) => TocEntry -> TocLoopType -> Int32 -> m ()
- tocEntrySetStartStopTimes :: (HasCallStack, MonadIO m) => TocEntry -> Int64 -> Int64 -> m ()
- tocEntrySetTags :: (HasCallStack, MonadIO m) => TocEntry -> Maybe TagList -> m ()
Exported types
Memory-managed wrapper type.
Instances
BoxedObject TocEntry Source # | |
Methods
appendSubEntry
tocEntryAppendSubEntry Source #
:: (HasCallStack, MonadIO m) | |
=> TocEntry |
|
-> TocEntry |
|
-> m () |
Appends the TocEntry
subentry
to entry
.
getEntryType
:: (HasCallStack, MonadIO m) | |
=> TocEntry |
|
-> m TocEntryType | Returns: |
No description available in the introspection data.
getLoop
:: (HasCallStack, MonadIO m) | |
=> TocEntry |
|
-> m (Bool, TocLoopType, Int32) | Returns: |
Get loopType
and repeatCount
values from the entry
and write them into
appropriate storages. Loops are e.g. used by sampled instruments. GStreamer
is not automatically applying the loop. The application can process this
meta data and use it e.g. to send a seek-event to loop a section.
Since: 1.4
getParent
:: (HasCallStack, MonadIO m) | |
=> TocEntry |
|
-> m (Maybe TocEntry) | Returns: The parent |
Gets the parent TocEntry
of entry
.
getStartStopTimes
tocEntryGetStartStopTimes Source #
:: (HasCallStack, MonadIO m) | |
=> TocEntry |
|
-> m (Bool, Int64, Int64) | Returns: |
Get start
and stop
values from the entry
and write them into appropriate
storages.
getSubEntries
tocEntryGetSubEntries Source #
:: (HasCallStack, MonadIO m) | |
=> TocEntry |
|
-> m [TocEntry] |
Gets the sub-entries of entry
.
getTags
:: (HasCallStack, MonadIO m) | |
=> TocEntry |
|
-> m TagList | Returns: A |
Gets the tags for entry
.
getToc
:: (HasCallStack, MonadIO m) | |
=> TocEntry |
|
-> m Toc | Returns: The parent |
Gets the parent Toc
of entry
.
getUid
:: (HasCallStack, MonadIO m) | |
=> TocEntry |
|
-> m Text | Returns: The UID of |
Gets the UID of entry
.
isAlternative
tocEntryIsAlternative Source #
:: (HasCallStack, MonadIO m) | |
=> TocEntry |
|
-> m Bool | Returns: |
No description available in the introspection data.
isSequence
:: (HasCallStack, MonadIO m) | |
=> TocEntry |
|
-> m Bool | Returns: |
No description available in the introspection data.
mergeTags
:: (HasCallStack, MonadIO m) | |
=> TocEntry |
|
-> Maybe TagList | |
-> TagMergeMode |
|
-> m () |
Merge tags
into the existing tags of entry
using mode
.
new
:: (HasCallStack, MonadIO m) | |
=> TocEntryType |
|
-> Text |
|
-> m TocEntry | Returns: newly allocated |
Create new TocEntry
structure.
setLoop
:: (HasCallStack, MonadIO m) | |
=> TocEntry |
|
-> TocLoopType |
|
-> Int32 |
|
-> m () |
Set loopType
and repeatCount
values for the entry
.
Since: 1.4
setStartStopTimes
tocEntrySetStartStopTimes Source #
:: (HasCallStack, MonadIO m) | |
=> TocEntry |
|
-> Int64 |
|
-> Int64 |
|
-> m () |
Set start
and stop
values for the entry
.