RhythmBox/lib/services/sourced_track/enums.dart

19 lines
480 B
Dart
Raw Normal View History

import 'package:rhythm_box/services/sourced_track/models/source_info.dart';
import 'package:rhythm_box/services/sourced_track/models/source_map.dart';
enum SourceCodecs {
2024-08-27 06:48:31 +00:00
m4a._('M4a (Best for downloaded music)'),
weba._("WebA (Best for streamed music)\nDoesn't support audio metadata");
final String label;
const SourceCodecs._(this.label);
}
enum SourceQualities {
high,
medium,
low,
}
typedef SiblingType<T extends SourceInfo> = ({T info, SourceMap? source});