jellyfin/tests
danne e4383493a9 Fix audio sample rate forced to 48 kHz for non-Opus codecs
GetProgressiveAudioFullCommandLine applied the libopus-only sample rate
quantization to every codec except Opus, inverting the intended guard.
A requested rate such as 44100 Hz was therefore snapped to 48000 Hz for
AAC/MP3/FLAC, while Opus (which actually requires the quantization) was
skipped entirely.

Apply the quantization only when the output codec is Opus, and pass the
requested sample rate through unchanged for all other codecs.

Fixes #17026

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-21 09:43:31 +02:00
..
Jellyfin.Api.Tests Keep the queried item's media source as the playback default 2026-06-07 23:06:48 +02:00
Jellyfin.Common.Tests Upgrade to xunit v3 2026-04-19 18:41:39 +02:00
Jellyfin.Controller.Tests Fix audio sample rate forced to 48 kHz for non-Opus codecs 2026-06-21 09:43:31 +02:00
Jellyfin.Extensions.Tests Use ReadAtLeastAsync to handle short-reads. 2026-05-28 13:31:13 -05:00
Jellyfin.LiveTv.Tests fix: write livetv recording NFO dateadded as UTC (#16863) 2026-05-18 20:22:20 +02:00
Jellyfin.MediaEncoding.Hls.Tests Add test for keyframe duration overshoot clamping 2026-04-26 00:24:15 -04:00
Jellyfin.MediaEncoding.Keyframes.Tests Upgrade to xunit v3 2026-04-19 18:41:39 +02:00
Jellyfin.MediaEncoding.Tests Make sure we don't include the null terminator 2026-06-16 17:45:22 +02:00
Jellyfin.Model.Tests Fix tests 2026-06-15 11:42:48 +02:00
Jellyfin.Naming.Tests improve book resolution from filename 2026-06-15 11:31:49 +09:00
Jellyfin.Networking.Tests Prevent unecessary log spam in NetworkUtils 2026-05-13 13:47:56 +02:00
Jellyfin.Providers.Tests Run tree-wide dotnet format 2026-05-21 20:48:41 +02:00
Jellyfin.Server.Implementations.Tests Merge pull request #14935 from JadedRain/master 2026-06-18 17:46:33 +02:00
Jellyfin.Server.Integration.Tests Add a collection API for Included In feature (#15516) 2026-05-29 20:00:34 +02:00
Jellyfin.Server.Tests fix: IPv6 prefixes not recognized as proxy https://github.com/jellyfin/jellyfin/issues/15710 2026-04-27 07:13:27 +00:00
Jellyfin.XbmcMetadata.Tests Merge pull request #16466 from PERSONALPANCHIWIRIS/fix/issue#16308_community_rating_not_updating 2026-05-06 19:08:19 +02:00
coverletArgs.runsettings SkipAutoProps is true by default but set it explicitly 2023-12-31 15:24:23 +01:00
Directory.Build.props Update to .NET 10.0 2026-01-14 18:55:47 +01:00