mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-09-30 13:19:44 +02:00
feat(player): add direct USB audio and DSD transport
This commit is contained in:
1 parent
4e464b5b6b
commit
608675a255
31 files changed
+2875
-12
No files matched your search
@@ -566,6 +566,16 @@ class SettingsNotifier extends Notifier<AppSettings> {
|
||||
_saveSettings();
|
||||
}
|
||||
|
||||
void setUsbDirect(bool enabled) {
|
||||
state = state.copyWith(usbDirect: enabled);
|
||||
_saveSettings();
|
||||
}
|
||||
|
||||
void setUsbDsdOverPcm(bool enabled) {
|
||||
state = state.copyWith(usbDsdOverPcm: enabled);
|
||||
_saveSettings();
|
||||
}
|
||||
|
||||
void setEmbedMetadata(bool enabled) {
|
||||
state = state.copyWith(embedMetadata: enabled);
|
||||
_saveSettings();
|
||||
|
||||
Reference in new issue
Block a user