mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-09-29 21:02:09 +02:00
feat(player): add AAudio hi-res, WavPack DSD and DAC volume
This commit is contained in:
@@ -35,6 +35,8 @@ class AppSettings {
|
||||
final bool usbBitPerfect;
|
||||
final bool usbDirect;
|
||||
final bool usbDsdOverPcm;
|
||||
final bool usbAllowFixedVolume;
|
||||
final bool dapExclusive;
|
||||
final bool autoplay;
|
||||
final bool isFirstLaunch;
|
||||
final bool checkForUpdates;
|
||||
@@ -151,6 +153,8 @@ class AppSettings {
|
||||
this.usbBitPerfect = false,
|
||||
this.usbDirect = false,
|
||||
this.usbDsdOverPcm = false,
|
||||
this.usbAllowFixedVolume = false,
|
||||
this.dapExclusive = false,
|
||||
this.autoplay = false,
|
||||
this.isFirstLaunch = true,
|
||||
this.checkForUpdates = true,
|
||||
@@ -242,6 +246,8 @@ class AppSettings {
|
||||
bool? usbBitPerfect,
|
||||
bool? usbDirect,
|
||||
bool? usbDsdOverPcm,
|
||||
bool? usbAllowFixedVolume,
|
||||
bool? dapExclusive,
|
||||
bool? autoplay,
|
||||
bool? isFirstLaunch,
|
||||
bool? checkForUpdates,
|
||||
@@ -329,6 +335,8 @@ class AppSettings {
|
||||
usbBitPerfect: usbBitPerfect ?? this.usbBitPerfect,
|
||||
usbDirect: usbDirect ?? this.usbDirect,
|
||||
usbDsdOverPcm: usbDsdOverPcm ?? this.usbDsdOverPcm,
|
||||
usbAllowFixedVolume: usbAllowFixedVolume ?? this.usbAllowFixedVolume,
|
||||
dapExclusive: dapExclusive ?? this.dapExclusive,
|
||||
autoplay: autoplay ?? this.autoplay,
|
||||
isFirstLaunch: isFirstLaunch ?? this.isFirstLaunch,
|
||||
checkForUpdates: checkForUpdates ?? this.checkForUpdates,
|
||||
|
||||
@@ -26,6 +26,8 @@ AppSettings _$AppSettingsFromJson(Map<String, dynamic> json) => AppSettings(
|
||||
usbBitPerfect: json['usbBitPerfect'] as bool? ?? false,
|
||||
usbDirect: json['usbDirect'] as bool? ?? false,
|
||||
usbDsdOverPcm: json['usbDsdOverPcm'] as bool? ?? false,
|
||||
usbAllowFixedVolume: json['usbAllowFixedVolume'] as bool? ?? false,
|
||||
dapExclusive: json['dapExclusive'] as bool? ?? false,
|
||||
autoplay: json['autoplay'] as bool? ?? false,
|
||||
isFirstLaunch: json['isFirstLaunch'] as bool? ?? true,
|
||||
checkForUpdates: json['checkForUpdates'] as bool? ?? true,
|
||||
@@ -129,6 +131,8 @@ Map<String, dynamic> _$AppSettingsToJson(
|
||||
'usbBitPerfect': instance.usbBitPerfect,
|
||||
'usbDirect': instance.usbDirect,
|
||||
'usbDsdOverPcm': instance.usbDsdOverPcm,
|
||||
'usbAllowFixedVolume': instance.usbAllowFixedVolume,
|
||||
'dapExclusive': instance.dapExclusive,
|
||||
'autoplay': instance.autoplay,
|
||||
'isFirstLaunch': instance.isFirstLaunch,
|
||||
'checkForUpdates': instance.checkForUpdates,
|
||||
|
||||
Reference in New Issue
Block a user