#region ========================================================================= USING =====================================================================================
using System.Diagnostics;
#endregion
namespace Lumina.Application.Common.DTO.MediaLibrary.AudioLibrary.MusicLibrary.Tracks;
///
/// Data transfer object for the stored probe result of a track, containing only the fields a playback manifest is built from.
///
/// The file system path of the stored audio file of the track, used to bind a normalized delivery to the file version it was declared for.
/// The container of the audio file of the track, for example MP3, FLAC, OGG, AAC, MP4 or WAV, if applicable.
/// The audio codec used by the audio file of the track, if applicable.
/// The duration of the audio of the track in seconds.
/// The sample rate of the audio of the track in Hz.
/// The number of audio channels of the track.
/// The bit depth of the audio of the track, if applicable.
/// The bitrate of the audio of the track, in kbps, if applicable.
/// The ReplayGain track gain of the track, in decibels, if applicable.
/// The ReplayGain track peak of the track, if applicable.
/// The ReplayGain album gain of the track, in decibels, if applicable.
/// The ReplayGain album peak of the track, if applicable.
[DebuggerDisplay("Container: {Container} Codec: {AudioCodec}")]
public sealed record TrackPlaybackManifestDto(
string Path,
string? Container,
string? AudioCodec,
int DurationInSeconds,
int SampleRate,
int Channels,
int? BitDepth,
int? Bitrate,
decimal? ReplayGainTrackGain,
decimal? ReplayGainTrackPeak,
decimal? ReplayGainAlbumGain,
decimal? ReplayGainAlbumPeak
);