foo-webview-sdk
    Preparing search index...

    Interface AudioGetStreamInfoSuccess

    Successful response from audio.getStreamInfo.

    interface AudioGetStreamInfoSuccess {
        bitrate?: number;
        channels?: number;
        codec?: string;
        duration?: number;
        playing: boolean;
        sampleRate?: number;
        success: true;
    }
    Index
    bitrate?: number

    Bitrate in kbps.

    channels?: number

    Channel count.

    codec?: string

    Codec name as foobar2000 reports it, or unknown.

    duration?: number

    Track length in seconds.

    playing: boolean

    A track is playing or paused; the other fields are present only then.

    sampleRate?: number

    Sample rate in Hz.

    success: true

    Always true here; a failed call resolves with ApiFailure instead.