Audio
Properties of an audio file.
A struct with 8 fields:
| field | type | optional | description |
|---|---|---|---|
| channels | UnsignedInteger | false | Number of audio channels. |
| codec | AudioCodec | true | Codec of the audio data. |
| format | AudioFormat | true | Container format of the audio file. |
| path | RelativePath | false | Path to the audio file. |
| sample_bits | UnsignedInteger | true | Bits per sample. |
| sample_rate | UnsignedInteger | false | Sample rate in Hertz. |
| samples | UnsignedInteger | false | Number of samples per channel. |
| size | UnsignedInteger | false | Size of the audio file in bytes. |