web/settings/defaults: toggle localProcessing depending on device
webkit is really weird with wasm ram management, so we disable local processing by default there. the user can still enable it manually in settings, but then we're not at fault by allowing potentially broken behavior by default
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { device } from "$lib/device";
|
||||
import { defaultLocale } from "$lib/i18n/translations";
|
||||
import type { CobaltSettings } from "$lib/types/settings";
|
||||
|
||||
@@ -20,7 +21,7 @@ const defaultSettings: CobaltSettings = {
|
||||
},
|
||||
save: {
|
||||
alwaysProxy: false,
|
||||
localProcessing: false,
|
||||
localProcessing: device.supports.defaultLocalProcessing || false,
|
||||
audioBitrate: "128",
|
||||
audioFormat: "mp3",
|
||||
disableMetadata: false,
|
||||
|
||||
Reference in New Issue
Block a user