gi-gstaudio-1.0.21: GStreamerAudio bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.GstAudio.Structs.AudioCdSrcTrack

Description

CD track abstraction to communicate TOC entries to the base class.

This structure is only for use by sub-classed in connection with audioCdSrcAddTrack.

Applications will be informed of the available tracks via a TOC message on the pipeline's Bus instead.

Synopsis

Exported types

newZeroAudioCdSrcTrack :: MonadIO m => m AudioCdSrcTrack Source #

Construct a AudioCdSrcTrack struct initialized to zero.

Methods

Overloaded methods

Properties

end

The last sector of this track (LBA)

getAudioCdSrcTrackEnd :: MonadIO m => AudioCdSrcTrack -> m Word32 Source #

Get the value of the “end” field. When overloading is enabled, this is equivalent to

get audioCdSrcTrack #end

setAudioCdSrcTrackEnd :: MonadIO m => AudioCdSrcTrack -> Word32 -> m () Source #

Set the value of the “end” field. When overloading is enabled, this is equivalent to

set audioCdSrcTrack [ #end := value ]

isAudio

Whether this is an audio track

getAudioCdSrcTrackIsAudio :: MonadIO m => AudioCdSrcTrack -> m Bool Source #

Get the value of the “is_audio” field. When overloading is enabled, this is equivalent to

get audioCdSrcTrack #isAudio

setAudioCdSrcTrackIsAudio :: MonadIO m => AudioCdSrcTrack -> Bool -> m () Source #

Set the value of the “is_audio” field. When overloading is enabled, this is equivalent to

set audioCdSrcTrack [ #isAudio := value ]

num

Track number in TOC (usually starts from 1, but not always)

getAudioCdSrcTrackNum :: MonadIO m => AudioCdSrcTrack -> m Word32 Source #

Get the value of the “num” field. When overloading is enabled, this is equivalent to

get audioCdSrcTrack #num

setAudioCdSrcTrackNum :: MonadIO m => AudioCdSrcTrack -> Word32 -> m () Source #

Set the value of the “num” field. When overloading is enabled, this is equivalent to

set audioCdSrcTrack [ #num := value ]

start

The first sector of this track (LBA)

getAudioCdSrcTrackStart :: MonadIO m => AudioCdSrcTrack -> m Word32 Source #

Get the value of the “start” field. When overloading is enabled, this is equivalent to

get audioCdSrcTrack #start

setAudioCdSrcTrackStart :: MonadIO m => AudioCdSrcTrack -> Word32 -> m () Source #

Set the value of the “start” field. When overloading is enabled, this is equivalent to

set audioCdSrcTrack [ #start := value ]

tags

Track-specific tags (e.g. from cd-text information), or NULL

clearAudioCdSrcTrackTags :: MonadIO m => AudioCdSrcTrack -> m () Source #

Set the value of the “tags” field to Nothing. When overloading is enabled, this is equivalent to

clear #tags

getAudioCdSrcTrackTags :: MonadIO m => AudioCdSrcTrack -> m (Maybe TagList) Source #

Get the value of the “tags” field. When overloading is enabled, this is equivalent to

get audioCdSrcTrack #tags

setAudioCdSrcTrackTags :: MonadIO m => AudioCdSrcTrack -> Ptr TagList -> m () Source #

Set the value of the “tags” field. When overloading is enabled, this is equivalent to

set audioCdSrcTrack [ #tags := value ]