-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend Audio Settings to use OS Audio Management Systems #2107
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lg
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i don't think this should have been merged like this
this.currentVolume = systemVolume; | ||
this.volState = systemVolume > 0; | ||
} catch (error) { | ||
console.error("Failed to sync system volume:", error); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
duplicated code,
move this into a composable, or do it globally
|
||
// Audio control functions | ||
setVolume: (volume) => ipcRenderer.invoke("set-system-volume", volume), | ||
getVolume: () => ipcRenderer.invoke("get-system-volume"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not right handle it like we always did in ControlService.js
and don't access window.promiseIpc
directly.
…)" This reverts commit 55ded93.
FIX #2069