@byomakase/omakase-player
    Preparing search index...

    Interface AudioArgs

    Construction arguments for audio track instances.

    interface AudioArgs {
        audioCodec?: string;
        channels?: number;
        duration?: number;
        id?: string;
        label?: string;
        loadStage?: OpStage;
        relations?: Relation[];
        source?: Source;
        sourceFileFormatType?: FileFormatType;
        url?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    audioCodec?: string

    Audio codec identifier (e.g. "mp4a.40.2").

    channels?: number

    Number of audio channels.

    duration?: number

    Duration of the audio track in seconds.

    id?: string

    Optional pre-assigned UUID. When omitted a new UUID is generated automatically.

    label?: string

    Human-readable label for this track.

    loadStage?: OpStage

    Track load status *

    relations?: Relation[]

    Initial set of inter-track relations.

    source?: Source

    Data source backing this track.

    sourceFileFormatType?: FileFormatType

    The resolved file format of the source.

    url?: string

    URL of the audio source. Overridden by source when a UrlSource is provided.