Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AudioStream ¶
type AudioStream interface { Nullable SampleRate() string BitDepth() int ChannelCount() int CodecName() string CodecType() string Duration() string }
func NullAudioStream ¶
func NullAudioStream() AudioStream
type DataSource ¶
type DataSource interface { RootNode() (Node, error) ChildrenOf(node Node) ([]Node, error) SamplesOf(node Node) ([]Sample, error) MetaOf(sample Sample) (SampleMeta, error) }
func NewFilesystemDataSource ¶
func NewFilesystemDataSource(root string) DataSource
type Entity ¶
func NullEntity ¶
func NullEntity() Entity
type Nullable ¶
type Nullable interface {
Null() bool
}
func NullNullable ¶
func NullNullable() Nullable
type SampleMeta ¶
type SampleMeta interface { Meta FileType() FileType AudioStream() AudioStream }
func NullSampleMeta ¶
func NullSampleMeta() SampleMeta
Click to show internal directories.
Click to hide internal directories.