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

Add mic resetting to default mic log watcher + notification when it happens #315

Closed
64766C opened this issue Mar 12, 2022 · 4 comments
Closed
Labels
done Completed and included in next release feature New feature or request

Comments

@64766C
Copy link

64766C commented Mar 12, 2022

Sometimes a headset mic can reset due to some system issues. For me this reset happens completely silently and it's very difficult to notice. VRChat writes a log when it happens:

2022.02.24 22:15:18 Log        -  [Always] uSpeak: OnAudioConfigurationChanged - devicesChanged = True, resetting mic..


2022.02.24 22:15:18 Log        -  [Always] uSpeak: SetInputDevice by name 'Digital Audio Interface (Valve VR Radio & HMD Mic)' (1 total)


2022.02.24 22:15:18 Log        -  [Always] uSpeak: SetInputDevice: Did not find microphone 'Digital Audio Interface (Valve VR Radio & HMD Mic)', resetting to default mic..


2022.02.24 22:15:18 Log        -  [Always] uSpeak: SetInputDevice 0 (1 total) 'Microphone (High Definition Audio Device)'


2022.02.24 22:15:18 Log        -  [Always] uSpeak: SetInputDevice by name 'Microphone (High Definition Audio Device)' (1 total)


2022.02.24 22:15:18 Log        -  [Always] uSpeak: SetInputDevice 0 (1 total) 'Microphone (High Definition Audio Device)'


2022.02.24 22:15:18 Log        -  [Behaviour] uSpeak [61][208367499]: New microphone found: Microphone (High Definition Audio Device)


2022.02.24 22:15:18 Log        -  [Behaviour] uSpeak [61][208367508]: UpdateSettings locally, sending to remotes: codec 3, Opus48k, BitRate_24K, FrameDuration_20ms


2022.02.24 22:15:18 Log        -  [Behaviour] uSpeak [61][208367509]: InitializeSettings (owner ID 6100002): codec 3, Opus48k, BitRate_24K, FrameDuration_20ms
@Natsumi-sama
Copy link
Member

Alright I will look into adding it as an event if it's useful.

@Natsumi-sama Natsumi-sama added the feature New feature or request label Mar 12, 2022
@64766C
Copy link
Author

64766C commented Mar 14, 2022

Just to add a little bit of context why I think it's useful. When this happens, it's completely silent and there is no indication at all from Windows or VRChat about the fact that your input was just changed to a different microphone. There is no device disconnected or connected system sound for example.

So something goes on in Windows -> microphone changes silently in the background -> you are now effectively muted in game or at best talking from your desktop mic. For me my headset mic is the default and it doesn't pick up any sound from across the room. The only way I can notice this has happened is that my mouth no longer moves in game and the red mic icon doesn't light up when is speak.

@Natsumi-sama
Copy link
Member

Okay this does sound useful, my only concern would be people that switch their default sound card often spamming them with unwanted notifications, I will try this in next beta release and see how it goes.

@Natsumi-sama
Copy link
Member

Give this build a try and tell me how it goes. https://github.com/Natsumi-sama/VRCX/releases/tag/v2022.03.21

@Natsumi-sama Natsumi-sama added the done Completed and included in next release label Aug 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
done Completed and included in next release feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants