Thinstation / thinstation

A framework for making thin and light Linux based images for x86 based machines and thinclients.
https://www.thinstation.net/
788 stars 188 forks source link

Problem with the microphone #701

Open Aleksa2022 opened 2 years ago

Aleksa2022 commented 2 years ago

My analog headset microphone is not working in VMware Horizon. It was possible to connect a USB headset - everything works, but a regular headset does not. Please tell me how this situation can be corrected. In the Horizon client, I have already tried different options in different combinations. Maybe you need to enable something separately? The only problem is with the microphone...

Aleksa2022 commented 2 years ago

Here are the snippets of the logs:

I005: RTAV: bool VAudioServer::SetAudioIn(bool, AVDevPrefs*) - AudioIn capture deactivated I005: RTAV: bool DataMgrClient::StopAudioInDevice(uint32_t, bool) - stopped audio device(index: 0) with result: true

I005: RTAV: bool DataMgrClient::StartAudioInCapture(uint32_t, bool) - Start audio in capture for device: . W003: RTAV: bool AudioCaptureLin::ConnectPulseAudioDaemon() - pa_context_connect() failed W003: RTAV: bool VAudioServer::SetAudioIn(bool, AVDevPrefs*) - AudioIn capture activation failed W003: RTAV: bool DataMgrClient::StartAudioInCapture(uint32_t, bool) - Failed to start AudioIn stream

in the client shows that there is a microphone, but the sound is not sent there ...

Thinstation commented 2 years ago

By default the mic level is 0, if you plug in a USB headset after audio init, it might have a mic level above 0.

Aleksa2022 commented 2 years ago

By default the mic level is 0, if you plug in a USB headset after audio init, it might have a mic level above 0.

I changed the microphone level, it didn't change anything...

Aleksa2022 commented 2 years ago

By default the mic level is 0, if you plug in a USB headset after audio init, it might have a mic level above 0.

I rebuilt the image again, set the variable mic_level = 90. Previously, I also tried to change this parameter. Made the assembly: --allmodules --license accept. There is no result - the microphone does not work, the microphone test site says that the audio track is not available due to technical problems.

Aleksa2022 commented 2 years ago

Previously, as I found, there were already problems with the analog microphone. So I understand that the reasons leading to its inoperability have not been found or have been found, but not all? I've already tried many different options and settings, but the microphone still doesn't work... https://github.com/Thinstation/thinstation/issues/615

hesamkhatami commented 1 year ago

hi, u must change "analoge-input-mic.conf" in "thinstation/bulid/packages/pulseaudio/alsa-mixer/paths/" and set every "switch = on" and "volume = zero" except "mic boost = select" and build image again.