foo-webview-sdk
    Preparing search index...

    Interface ReplayGainTrackInfo

    The ReplayGain values of one file. Each value appears only when the file stores it.

    interface ReplayGainTrackInfo {
        albumGain?: string;
        albumGainRaw?: number;
        albumPeak?: string;
        albumPeakRaw?: number;
        error?: string;
        hasReplayGain?: boolean;
        path: string;
        success: boolean;
        trackGain?: string;
        trackGainRaw?: number;
        trackPeak?: string;
        trackPeakRaw?: number;
    }
    Index
    albumGain?: string

    Album gain formatted with two decimals and a dB suffix.

    albumGainRaw?: number

    Album gain in dB.

    albumPeak?: string

    Album peak formatted with six decimals.

    albumPeakRaw?: number

    Album peak as a linear amplitude.

    error?: string

    Why the file could not be read; present when success is false.

    hasReplayGain?: boolean

    Whether the file stores a track gain or an album gain. Present when success is true.

    path: string

    The path as requested, including any |subsong:N suffix.

    success: boolean

    Whether the file could be read.

    trackGain?: string

    Track gain formatted with two decimals and a dB suffix, such as -7.25 dB.

    trackGainRaw?: number

    Track gain in dB.

    trackPeak?: string

    Track peak formatted with six decimals.

    trackPeakRaw?: number

    Track peak as a linear amplitude.