-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't change recording device under Linux/PulseAudio #2231
Comments
Does changing the output device of Telegram work for you? |
No, I can't change output device for Telegram. |
Okay then I also experienced this issue (Arch Linux). |
Kind of solution: |
After reboot TG again forget about selected device and do not want to user fallback device. |
Probably duplicate of #776 |
Version 1.0.5 seems to respect pulseaudio settings. |
Problem persists on 1.2.6 alpha. Cleaning caches solves until next reboot only. |
I also have this problem with Telegram 1.2.8 on Manjaro Linux. Also an option in Telegram to choose a mic would be nice. Because I for example have my webcam and my 'real' mic and there is currently no way to switch between them. |
I also can't use my external mic for Telegram voice messages. Can't this be fixed? |
This issue can't be fixed until it's not affecting core developers, as it is for many other projects running on linux desktop. |
Same problem here on Ubuntu 18.04 in Pulse Audio trying to select audio output device. |
Bug persists on Ubuntu 18.04 with Telegram 1.5.8 |
Same issue with pulseaudio 12.2 and telegram 1.5.15 on Manjaro. |
Same issue with pulseaudio 13 and telegram 1.8.8 on Archlinux. |
This seems to be an inherent issue depending on the audio engine you use. I know exactly one other system that has this problem: Minecraft, java edition. Every other system seems to use the pulse audio API, except these two, where you have to disable all other devices except for the one you want them to use. Then these applications will stick with them forever (accidentally unplugged your device ? restart the application ). |
I do not agree, I solve the problem that has an issue with some programs. In the case of MC/Steam and Telegram issue is simple you need to enable this configuration in your system: Create a config file for openalsoft (~/.alsoftrc or /etc/openal/alsoft.conf). This will allow to seamsly change your sound output/input on the fly.
After this you can switch on the fly ACTIVE streams, but may not really changes default option in some cases, e.g. calls is easy because the stream do not depend of your mouse, different is when you need to change device of a recording audio. In KDE/Plasma you can change it but only if its active, when I release the audio record button, stream stops and I cannot change the stream device input, and the funny thing is that stream is not using even the default device, is so weird. May some of you do not notice but, there is a call specific options that are not in global settings, you need to go to call-> and then setting. This settings are useful to change device streams using test microphone option either with system device switch or the telegram option listed there, this may solve call issue, but there is no option for test recording audio, not even here or in general settings. I leave this half solution that may will be useful. I'm still with the issue of recording audios with correct device. I do not agree with you because Telegram IS NOT using default device, and telegram uses two different configurations for call and record, so I dont think this is an SO or audio engine issue, is the way that telegram handles devices, may they should have a similar test and options for recording audio like they have with call settings. PS: I'm using Manjaro Linux & Plasma |
Now they have settings and ability to change recording device, and you know what? Test works great! But it still records with internal microphone... |
#5380 |
@arlyoneel Thanks! I didn't see this reply until now.. (And yes that full quote is on purpose, it's the solution.) |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Steps to reproduce
Expected behaviour
Message recorded from webcam mic.
Actual behaviour
Telegram will use old device or show error message "Could not send an empty file :(" . Skype on this machine works just fine.
Configuration
Operating system:
Debian 8.5+backports, Linux 4.6.1-1~bpo8+1 x86_64, pulseaudio 7.1, KDE 4.14
Version of Telegram Desktop:
0.9.51
Logs
Console messages:
log_20_45.txt
The text was updated successfully, but these errors were encountered: