fix(player): disable audio normalization on missing audio input (#1865)

* fix(player): disable audio normalization on missing audio input

* fix(player): skip normalization when local audio input is missing

* fix `hasDashAudio`

---------

Co-authored-by: dom <githubaccount56556@proton.me>
This commit is contained in:
HeXis-YS
2026-03-15 09:16:10 +08:00
committed by GitHub
parent ffbbd8e702
commit d73588f1fd
6 changed files with 41 additions and 39 deletions

View File

@@ -138,7 +138,7 @@ class DownloadService extends GetxService {
final currentTime = DateTime.now().millisecondsSinceEpoch ~/ 1000;
final entry = BiliDownloadEntryInfo(
mediaType: 2,
hasDashAudio: true,
hasDashAudio: false,
isCompleted: false,
totalBytes: 0,
downloadedBytes: 0,
@@ -206,7 +206,7 @@ class DownloadService extends GetxService {
);
final entry = BiliDownloadEntryInfo(
mediaType: 2,
hasDashAudio: true,
hasDashAudio: false,
isCompleted: false,
totalBytes: 0,
downloadedBytes: 0,