mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-04-28 09:43:13 +00:00
use lxst api to get input and output devices
This commit is contained in:
parent
009ba81a5a
commit
ef188eb2d5
1 changed files with 2 additions and 2 deletions
|
|
@ -584,12 +584,12 @@ class ReticulumMeshChat:
|
|||
|
||||
# get input devices
|
||||
input_devices = []
|
||||
for input_device in LXST.Sources.Backend().soundcard.all_microphones():
|
||||
for input_device in self.telephone.available_inputs():
|
||||
input_devices.append(input_device.name)
|
||||
|
||||
# get output devices
|
||||
output_devices = []
|
||||
for output_device in LXST.Sources.Backend().soundcard.all_speakers():
|
||||
for output_device in self.telephone.available_outputs():
|
||||
output_devices.append(output_device.name)
|
||||
|
||||
return web.json_response({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue