Closed Owehttamy closed 1 year ago
The mod supports multiple audio backends. There is no way with these libraries to detect if devices connect or disconnect. It is completely intended behavior of the mod to not detect changing audio devices. It is not supported/recommended changing your audio setup while the game is running. We are limited by the libraries, Minecraft itself ships.
Gotcha. Is it still possible to allow players to at least re-select their audio device manually in the voice chat settings then? Because currently, if the menu says it's selected (even if it's not or wonked up because of its inability to detect changes), you can't manually force it to reconfigure. Yes, you shouldn't be fiddling with your audio setup while the game is running, but providing a solution other than relogging would be nice.
I will look into it.
Bug description When in-game, the mod (at least the Fabric version) doesn't detect any changes to the player's output environment unless it's manually changed by the player in the voice chat menu. For example, I only have one 'valid' set of speakers on my device: Bluetooth headphones. If they die or disconnect, the mod doesn't recognize that change.
Steps to reproduce the issue
Setting up the environment
Connected -> Disconnected
Disconnected -> Connected (Speakers)
Disconnected -> Connected (Microphone)
Currently, the only way to fix these issues is by relogging, which—in my opinion—is inconvenient.
Expected behavior The mod detects when the current audio devices are no longer present to reflect the proper, up-to-date detection of the device selection screens. If there's no reasonable way to do that, then at least provide the ability to 'reselect' the audio device you're already using when there's only one available option to avoid periodic checks.
Versions
Other mods Not rooted in a compatibility issue; it still occurs in an environment with only Fabric API and Simple Voice Chat.