2024-08-26 15:21:22 +00:00
|
|
|
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)'),
|
2024-08-26 15:21:22 +00:00
|
|
|
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});
|