Skip to content
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

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

mabasian
Copy link
Contributor

FIX #2069

Copy link
Contributor

@MaxTheGeeek MaxTheGeeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lg

@mabasian mabasian merged commit 55ded93 into stereum-dev:main Nov 13, 2024
4 checks passed
@mabasian mabasian deleted the audioSetting branch November 13, 2024 15:00
Copy link
Member

@NeoPlays NeoPlays left a 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);
Copy link
Member

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

Comment on lines +14 to +17

// Audio control functions
setVolume: (volume) => ipcRenderer.invoke("set-system-volume", volume),
getVolume: () => ipcRenderer.invoke("get-system-volume"),
Copy link
Member

@NeoPlays NeoPlays Nov 13, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement]: Extend Audio Settings to use OS Audio Management Systems
3 participants