S
S
s4q2021-06-09 15:48:11
linux
s4q, 2021-06-09 15:48:11

Microphone not visible in Python virtual environment?

The virtual environment is launched from under a non-primary user, the microphone is visible on the primary user.
Output in the main user:

**** List of CAPTURE Hardware Devices ****
 card 1: DeviceEEPROM [USB PnP Audio Device(EEPROM)], device 0: USB Audio [USB Audio]                                      Subdevices: 1/1                                                                                                         
Subdevice #0: subdevice #0

Output in the user under which the virtual environment is launched:
arecord: device_list:272: no soundcards found...
How to fix this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0nkery, 2021-06-09
@0nkery

Is the user added to the group audio?
sudo usermod -a -G audio username

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question