api & web: update default audio bitrate to be 128kbps

This commit is contained in:
wukko 2024-08-22 20:50:21 +06:00
parent 42ff874c95
commit ff9efdc471
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ export const apiSchema = z.object({
audioBitrate: z.enum( audioBitrate: z.enum(
["320", "256", "128", "96", "64", "8"] ["320", "256", "128", "96", "64", "8"]
).default("256"), ).default("128"),
audioFormat: z.enum( audioFormat: z.enum(
["best", "mp3", "ogg", "wav", "opus"] ["best", "mp3", "ogg", "wav", "opus"]

View file

@ -15,7 +15,7 @@ const defaultSettings: CobaltSettings = {
reduceTransparency: false, reduceTransparency: false,
}, },
save: { save: {
audioBitrate: "256", audioBitrate: "128",
audioFormat: "mp3", audioFormat: "mp3",
disableMetadata: false, disableMetadata: false,
downloadMode: "auto", downloadMode: "auto",