Tdesktop: [Linux] Svitching output device in Pavucontrol is permament

Created on 29 May 2017  路  8Comments  路  Source: telegramdesktop/tdesktop

Steps to reproduce

  1. Plug your usb audio (in my case it is focusrite scarlett 2i4 2nd gen)
  2. Play something from telegram. Any audio
  3. Open Pavucontrol and switch Telegram to system audio output
  4. Close Pavucontrol
  5. Now output lock to system audio and you can switch it back to usb audio via pavucontrol.

Expected behaviour

Switch between audio outputs

Actual behaviour

Permanent lock to system-audio output. Neither closing Telegram, nor rebooting helps to switch Telegram to prefered audio in system settings

Configuration

Operating system:
Archlinux
Desktop Environment
KDE Plasma 5.9.
Version of Telegram Desktop:
1.1.2.
Used theme:
Breeze.v3

Most helpful comment

I was having the same issue as @mrmaffen.
Telegram Desktop 1.3.7 alpha
Running on Arch Linux (4.17.0-mainline)
Pulseaudio: 11.1

I fixed by creating ~/.alsoftrc w/ the following content:

[pulse]
allow-moves=yes

I'm pretty sure this is a mistake on Telegram Desktop's end, since I'm having this issue only with this specific application

All 8 comments

Could you try testing the latest alpha version? (at this point it should be 1.1.6). Might help. For me voice calls are working without crashing now, but I haven't tested extensively so I am not 100% sure at the moment.

@kmare, well I've installed latest alpha, and it didn't help. So i've deleted my settings directory, and yet no results. I wonder what i need to do to switch Telegram back to my usb audio. I've tried to switch another application between devices in pavucontrol, and it is working (for chromium and mpv for sure). I'll read about pulseaudio on wiki and will post back here if i will find a solution.

@kmare, deleting ~/.config/pulse dir fixed the problem, but the bug still reproduces. But in a slightly different way. Now i can switch output device, but only during calls. That's on alpha 1.1.6, and after updating to 1.1.7 nothing changed

I'm running Linux Mint with Pulse Audio.
Problem:
'pacmd list-sink-inputs' returned 'flags: DONT_MOVE START_CORKED FIX_RATE' for telegram-desktop. That's why I was unable to change Telegram's audio to my headset and back to my speakers.

Solution:
In order to fix this, I edited my /etc/openal/alsoft.conf like this:
[pulse]
allow-moves=yes

Yay!
Now 'pacmd list-sink-inputs' returns 'flags: START_CORKED FIX_RATE', which means I am now able to change my output device.

I was having the same issue as @mrmaffen.
Telegram Desktop 1.3.7 alpha
Running on Arch Linux (4.17.0-mainline)
Pulseaudio: 11.1

I fixed by creating ~/.alsoftrc w/ the following content:

[pulse]
allow-moves=yes

I'm pretty sure this is a mistake on Telegram Desktop's end, since I'm having this issue only with this specific application

@denysvitali works for me too, but it's very annoying to change channels each time when you want to call or to listen something

so I just disable all other inputs/outputs

Hello. I'm experiencing the same issue in Lubuntu 19.04. Are there any easy fixes?

I was having the same issue as @mrmaffen.
Telegram Desktop 1.3.7 alpha
Running on Arch Linux (4.17.0-mainline)
Pulseaudio: 11.1

I fixed by creating ~/.alsoftrc w/ the following content:

[pulse]
allow-moves=yes

I'm pretty sure this is a mistake on Telegram Desktop's end, since I'm having this issue only with this specific application

Thank you. That fixed the issue on Debian Linux

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster

$ uname -a
Linux precision 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2 (2020-04-29) x86_64 GNU/Linux
Was this page helpful?
0 / 5 - 0 ratings

Related issues

Mindstormer619 picture Mindstormer619  路  3Comments

Liudvikas picture Liudvikas  路  3Comments

beppe9000 picture beppe9000  路  3Comments

ghost picture ghost  路  3Comments

Justinzobel picture Justinzobel  路  3Comments