@Phoenix / all :-
Okay. I got audio working in Discord. Here's how:-
First; in all honesty, on a desktop, this NEEDS a headset. This is the only way round it, unless you've got a set of headphones AND a separate microphone, both of which are plugged into/working with the same sound card.
I've had a Logitech H340 USB headset for a while, now; it has its own audio card built-in to the rather chunky connector. Which makes setting things up a doddle....
--------------------------------------
Normally, for video chats I'll set output to default speakers (off the main card) and input to the webcam mike (the c920's stereo microphones). Most apps will let you do stuff like this. Discord, however, won't; both input & output must come from the same "default" device.
This is hardly surprising, TBH. Discord was originally, and still IS primarily a gamer's communication platform. The vast majority of serious gamers seem to prefer headsets anyway.....and most modern headsets are USB. With a built-in audio chip...
Go figure. On top of that, this thing expects PulseAudio. Of course! So:-
Your launcher needs to read as follows:-
Code: Select all
apulse /usr/bin/discord --no-sandbox
-----------------------------------
Fire up Discord. Sign-in, and all that guff. Now; you should find your audio icons, bottom left, now look normal.
Click on the settings 'cog-wheel'. 'App Settings->Voice & Video'. You'll find it's on 'Voice Activity' by default. If you now talk into your mike, you should see the solid green line come and go as you talk. However....
Discord voice channels all want you to use 'Push to talk'. This means setting up a keybind to activate your mike on/off. (Seems a bit old-fashioned, but.....this is what seems to work. I just used the space bar. There's a lot of default keybindings set-up already, but the space bar doesn't seem to be allocated. So; now it is!)
To test this, you now use the test bar up top. Hit your 'toggle' key to activate your mike. Speaking will show activity in yellow on the test bar. Toggle again to switch the mike off.
All things being equal, you now have a working mike & headphones/speakers!
------------------------------------
To summarise:-
If you're on a desktop, with possibility of multiple sources; make sure headphones/mike are using the same card. Or, use a headset.....preferably, with its own audio card.
Sorted! Hope that helps some of you.
Mike.