Creates a new, empty RVA2 frame.
Returns an array of all channel types present in this frame.
Array of ChannelType values stored in this frame.
Gets the frame identifier from the header.
Gets the frame's header object.
Gets the identification string that distinguishes this frame from other RVA2 frames.
The identification string.
Sets the identification string.
The new identification string.
Gets the payload size in bytes from the header.
ProtectedparseParses the frame payload into identification and per-channel data.
The raw field bytes of the frame.
The ID3v2 version (unused).
Returns the peak volume data for the specified channel.
The channel to query. Defaults to ChannelType.MasterVolume.
The PeakVolume for the given channel.
Render the complete frame (header + fields) for the given version.
Optionalversion: numberProtectedrenderSerializes the frame data into bytes.
The ID3v2 version (unused).
A ByteVector containing the encoded frame fields.
Sets the peak volume data for the specified channel.
The peak volume data to store.
The channel to update. Defaults to ChannelType.MasterVolume.
Sets the volume adjustment as a floating-point dB value.
The volume adjustment in decibels.
The channel to update. Defaults to ChannelType.MasterVolume.
Sets the raw volume adjustment index (signed 16-bit, 1/512 dB units).
The signed integer index to set; clamped to [-32768, 32767].
The channel to update. Defaults to ChannelType.MasterVolume.
Returns the identification string.
The identification string of this frame.
Get volume adjustment as a floating point dB value.
The channel to query. Defaults to ChannelType.MasterVolume.
The volume adjustment in decibels.
Get volume adjustment index (signed, 1/512 dB units).
The channel to query. Defaults to ChannelType.MasterVolume.
The raw signed 16-bit volume adjustment index.
Protected StaticfieldExtract the raw field data from a complete frame blob.
This handles unsynchronisation decoding, data-length indicators, and (stubbed) decompression.
StaticfromInternalCreate from raw frame data.
Relative volume adjustment frame (RVA2).
Structure: identification(null-terminated Latin1) + per-channel data blocks. Each channel block: channelType(1) + volumeAdjustment(2, signed big-endian) + bitsRepresentingPeak(1) + peakVolume(variable).