Adds normalized audio playback pipeline

This commit is contained in:
BinaryAlley committed 2026-10-17 20:52:08 +03:00
1 parent 6991640710
commit 4e13b23f16
35 files changed
+3817 -41

No files matched your search

@@ -4,27 +4,28 @@ namespace Lumina.Domain.SharedKernel.Common.Enums.Playback;
/// Enumeration for the quality cap applied to the audio the server normalizes (remuxes or transcodes) for a user.
/// </summary>
/// <remarks>
/// The caps apply only to audio the server has to change; a track that is played directly is always delivered as it was stored.
/// The caps apply only to audio the server re-encodes into a lossy codec. A track that is played directly is delivered as it was stored, a remux only
/// repackages the stored codec without re-encoding it, and a lossless transcode is not reduced, so none of those deliveries is capped.
/// </remarks>
public enum PlaybackStreamingQuality
{
/// <summary>
/// The server chooses the quality, with no explicit cap.
/// The server chooses the quality, with a default cap of 192 kbps for a lossy re-encode.
/// </summary>
Auto,
/// <summary>
/// Normalized audio is capped at 96 kbps.
/// A lossy normalized audio stream is capped at 96 kbps.
/// </summary>
Low,
/// <summary>
/// Normalized audio is capped at 160 kbps.
/// A lossy normalized audio stream is capped at 160 kbps.
/// </summary>
Medium,
/// <summary>
/// Normalized audio is capped at 320 kbps.
/// A lossy normalized audio stream is capped at 320 kbps.
/// </summary>
High,
}