mirror of
https://github.com/spotiflacapp/SpotiFLAC-Mobile.git
synced 2026-06-01 03:15:17 +07:00
The SAF and local post-download branches used to rush an ffmpeg 'M4A to FLAC' remux whenever the output extension was .flac, which silently upscaled AAC or EAC3 streams into a lossless container. Each branch now mirrors the native worker by probing the primary audio codec before converting: lossless sources (and true FLAC-in-MP4 files) stay in their native container with the right extension, while genuine ALAC/WAV payloads still get remuxed. Add an outputExt field to DownloadRequestPayload so the Go backend always knows the user-requested container, and use it together with _shouldRequestContainerConversion to pick the right behaviour for shouldPreserveNativeM4a and the Kotlin finalizer. Decryption descriptors no longer force M4A preservation on their own; the codec probe already makes that call correctly. |
||
|---|---|---|
| .. | ||
| apk_downloader.dart | ||
| app_state_database.dart | ||
| cover_cache_manager.dart | ||
| csv_import_service.dart | ||
| download_request_payload.dart | ||
| downloaded_embedded_cover_resolver.dart | ||
| ffmpeg_service.dart | ||
| history_database.dart | ||
| library_collections_database.dart | ||
| library_database.dart | ||
| local_track_redownload_service.dart | ||
| notification_service.dart | ||
| platform_bridge.dart | ||
| share_intent_service.dart | ||
| shell_navigation_service.dart | ||
| update_checker.dart | ||