mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-08-05 02:28:36 +02:00
fix(analysis): isolate metrics from active downloads
This commit is contained in:
@@ -215,20 +215,17 @@ class _MediaInfo {
|
||||
class _LevelMetrics {
|
||||
final double peakDb;
|
||||
final double rmsDb;
|
||||
final double? integratedLufs;
|
||||
final double? truePeakDb;
|
||||
final int clippingSamples;
|
||||
final List<ChannelAnalysisStats> channelStats;
|
||||
|
||||
const _LevelMetrics({
|
||||
required this.peakDb,
|
||||
required this.rmsDb,
|
||||
this.integratedLufs,
|
||||
this.truePeakDb,
|
||||
this.clippingSamples = 0,
|
||||
this.channelStats = const [],
|
||||
});
|
||||
}
|
||||
|
||||
class _LoudnessMetrics {
|
||||
final double? integratedLufs;
|
||||
final double? truePeakDb;
|
||||
|
||||
const _LoudnessMetrics({this.integratedLufs, this.truePeakDb});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user