Skip to content

Windows only gets the default device on app launch #85

@navidecklabs

Description

@navidecklabs

Describe the bug
Windows only gets the default device on app launch. In our app we ask the user to plug in headphones. Even though the headphones are the default device Windows, the plugin always sets the built-in speakers' volume.

This only happens if headphones are plugged-in after app launch. If the headphones are already plugged-in on app launch then it works as expected.

Plugin version

  • Version: 1.3.3

To Reproduce
Steps to reproduce the behavior:
Start the example app, plug headphones into your machine, set them as default in system settings and try to set the volume through this plugin.

Expected behavior
The default device should be fetched again before each operation. macOS works correctly. Linux was not tested.

Platform (please complete the following information):

  • OS: Windows
  • Version: 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions