Documentation ¶
Index ¶
Constants ¶
View Source
const ( Unsynchronization = 1 << 7 ExtendedHeader = 1 << 6 Experimental = 1 << 5 )
Variables ¶
View Source
var ( Tracks = &TrackCollection{ lookup: map[string]*Track{}, } )
Functions ¶
Types ¶
type Tag ¶
type TrackCollection ¶
type TrackCollection struct { All []*Track // contains filtered or unexported fields }
func (*TrackCollection) Find ¶
func (t *TrackCollection) Find(id string) *Track
Find returns a track via it's ID. This is an O(1) lookup. Nil is returned if no track is found.
func (*TrackCollection) Insert ¶
func (t *TrackCollection) Insert(audio *Track)
Insert adds a track to the collection.
Click to show internal directories.
Click to hide internal directories.