Interface: ILosslessAudioCodec
March 10, 2023 · View on GitHub
node-taglib-sharp / Exports / ILosslessAudioCodec
Interface: ILosslessAudioCodec
This interface provides information specific to lossless audio codecs. When dealing with an ICodec, if mediaTypes contains LosslessAudio, it is safe to assume that the object also inherits ILosslessAudioCodec and can be recast without issue.
Hierarchy
-
↳
ILosslessAudioCodec
Implemented by
Table of contents
Properties
- audioBitrate
- audioChannels
- audioSampleRate
- bitsPerSample
- description
- durationMilliseconds
- mediaTypes
Properties
audioBitrate
• audioBitrate: number
Bitrate of the audio in kilobits per second represented by the current instance.
Inherited from
audioChannels
• audioChannels: number
Number of channels in the audio represented by the current instance.
Inherited from
audioSampleRate
• audioSampleRate: number
Sample rate of the audio represented by the current instance.
Inherited from
bitsPerSample
• bitsPerSample: number
Number of bits per sample in the audio represented by the current instance.
description
• description: string
Gets a text description of the media represented by the current instance.
Inherited from
durationMilliseconds
• durationMilliseconds: number
Duration of the media in milliseconds represented by the current instance.
TODO
Ensure milliseconds is the right way to interpret this field
Inherited from
IAudioCodec.durationMilliseconds
mediaTypes
• mediaTypes: MediaTypes
Types of media represented by the current instance, bitwise combined.