This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-extensions/wecom/node_modules/music-metadata/lib/mpeg/ReplayGainDataFormat.d.ts
T

58 lines
1.3 KiB
TypeScript

import type { IGetToken } from 'strtok3';
export interface IReplayGain {
type: NameCode;
origin: ReplayGainOriginator;
adjustment: number;
}
/**
* https://github.com/Borewit/music-metadata/wiki/Replay-Gain-Data-Format#name-code
*/
declare const NameCode: {
/**
* not set
*/
not_set: number;
/**
* Radio Gain Adjustment
*/
radio: number;
/**
* Audiophile Gain Adjustment
*/
audiophile: number;
};
type NameCode = typeof NameCode[keyof typeof NameCode];
/**
* https://github.com/Borewit/music-metadata/wiki/Replay-Gain-Data-Format#originator-code
*/
declare const ReplayGainOriginator: {
/**
* Replay Gain unspecified
*/
unspecified: number;
/**
* Replay Gain pre-set by artist/producer/mastering engineer
*/
engineer: number;
/**
* Replay Gain set by user
*/
user: number;
/**
* Replay Gain determined automatically, as described on this site
*/
automatic: number;
/**
* Set by simple RMS average
*/
rms_average: number;
};
type ReplayGainOriginator = typeof ReplayGainOriginator[keyof typeof ReplayGainOriginator];
/**
* Replay Gain Data Format
*
* https://github.com/Borewit/music-metadata/wiki/Replay-Gain-Data-Format
*/
export declare const ReplayGain: IGetToken<IReplayGain | undefined>;
export {};