ReplayGainMode

Which loudness measurement to honour, when the container carries one.

Almost every music file has one: FLAC and Ogg write it as a Vorbis comment, MP3 as an ID3v2 frame, Opus as R128_TRACK_GAIN in its own unit. Honouring it is what stops a quiet album playing quiet and a loud one being painful, without touching the volume the user set.

Entries

Link copied to clipboard

Ignore the tags. The default: a player should not change what it was given unasked.

Link copied to clipboard

Level each track to itself. Right for shuffled listening.

Link copied to clipboard

Level each album as a whole, so its own quiet and loud tracks keep their relationship.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.