Constructs a ShortenProperties instance from parsed header values.
The parsed property values, or null to create an empty instance.
The level of detail used when parsing audio properties.
Returns the uncompressed bitrate in kilobits per second.
Bitrate computed from sample rate, bits per sample, and channel count.
Returns the number of bits per sample.
Bits per sample (e.g. 16).
Returns the number of audio channels.
The channel count.
Returns the Shorten internal file type code describing the audio encoding.
The file type code.
Returns the track duration in milliseconds.
Duration computed from sample frames and sample rate.
Duration rounded to the nearest second.
Returns the total number of PCM sample frames in the stream.
The sample frame count.
Returns the sample rate in Hz.
The sample rate.
Returns the Shorten format version number (1–3).
The version number.
Audio properties for Shorten (.shn) files.
Shorten stores audio metadata (sample rate, bits per sample, channel count) inside an embedded verbatim WAVE or AIFF header at the start of the stream. Duration and bitrate are derived from those values.