microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.05k stars 28.8k forks source link

Text synthesis stops when bluetooth profile switches #213640

Open chrmarti opened 4 months ago

chrmarti commented 4 months ago

Testing #213355

E.g., here it only read "Sure!" and then stopped: Image

When I then press the speaker icon, it reads the entire text.

chrmarti commented 4 months ago

Here it initially didn't read anything: Image

bpasero commented 4 months ago

Seems to happen in inline chat, but not panel chat. Here only the first half was read out aloud:

image

bpasero commented 4 months ago

@chrmarti is it possible you did this with microphone such as AirPods connected to the machine and could you try using just the built-in microphone and speakers?

I have a theory that this is what happens, only when using a external microphone such as AirPods:

I am not sure if above is true and if this is something we can fix on our end.

chrmarti commented 4 months ago

You're right, it works with the built-in microphone. One thing I now noticed (and might be related) is that with the bluetooth headphones I don't hear it go back to high fidelity (music playback stays low quality) until I reload the window. There is also a 'open mic' indicator on the window, so I guess it doesn't really stop.