telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
26.32k stars 5.23k forks source link

No sound in the Telegram desktop application (no audio) #26848

Closed vadimuz closed 1 year ago

vadimuz commented 1 year ago

Steps to reproduce

Hi there,

One day, the sound disappeared and never came back (video, calls, music/voice player). Rebooting and reinstalling the application did not solve the problem.

The sound works for other applications, Spotify, etc. This issue is related only to Telegram.

Expected behaviour

It should be sound

Actual behaviour

No sound

Operating system

macOS Ventura 13.5 (22G74)

Version of Telegram Desktop

4.10.1

Installation source

Static binary from official website

Crash ID

No response

Logs

No response

ilya-fedin commented 1 year ago

Have you tried to fix this on your own by creating various files like .alsoftrc? If yes, undo everything you did.

vadimuz commented 1 year ago

@ilya-fedin No, I didn't create .alsoftrc file. I downloaded a .dmg installation file from the official Telegram website.

Igorgro commented 1 year ago

The same proble on arch linux - both with telegram from arch repo and official website and both with system or custom notifications

ilya-fedin commented 1 year ago

@vadimuz enter debugmode cheat code to enable debug logs and get last_openal_log.txt from the DebugLogs folder opened by viewlogs cheat code

@Igorgro the issue says that it's about video, calls, music/voice player so if you have problems only with notifications then it's unrelated to this issue

ilya-fedin commented 1 year ago

@vadimuz I asked for last_openal_log.txt inside DebugLogs folder while this is log.txt. Also the text is unreadable, please use three brackets.

vadimuz commented 1 year ago

@ilya-fedin [ALSOFT] (II) Initializing library v1.23.1-d3875f33 HEAD [ALSOFT] (II) Supported backends: core, null, wave [ALSOFT] (II) Loading config /etc/openal/alsoft.conf... [ALSOFT] (II) Loading config /etc/xdg/alsoft.conf... [ALSOFT] (II) Loading config /Users/root1/.alsoftrc... [ALSOFT] (II) found 'drivers' = 'alsa' [ALSOFT] (II) Loading config /Users/root1/.config/alsoft.conf... [ALSOFT] (II) Got binary: "/Applications/Telegram.app/Contents/MacOS", "Telegram" [ALSOFT] (II) Loading config /Applications/Telegram.app/Contents/MacOS/alsoft.conf... [ALSOFT] (II) Key disable-cpu-exts not found [ALSOFT] (II) Extensions: -none- [ALSOFT] (II) Key rt-prio not found [ALSOFT] (II) Key rt-time-limit not found [ALSOFT] (II) Key game_compat/enable-sub-data-ext not found [ALSOFT] (II) Key game_compat/reverse-x not found [ALSOFT] (II) Key game_compat/reverse-y not found [ALSOFT] (II) Key game_compat/reverse-z not found [ALSOFT] (II) Key game_compat/nfc-scale not found [ALSOFT] (II) Key resampler not found [ALSOFT] (II) Key uhj/decode-filter not found [ALSOFT] (II) Key uhj/filter not found [ALSOFT] (II) Key uhj/encode-filter not found [ALSOFT] (II) Key trap-al-error not found [ALSOFT] (II) Key trap-alc-error not found [ALSOFT] (II) Key reverb/boost not found [ALSOFT] (II) Found drivers = "alsa" [ALSOFT] (WW) No playback backend available! [ALSOFT] (WW) No capture backend available! [ALSOFT] (II) Key excludefx not found [ALSOFT] (II) Key default-reverb not found [ALSOFT] (WW) Error generated on device 0x0, code 0xa004 [ALSOFT] (WW) Error generated on device 0x0, code 0xa004 [ALSOFT] (WW) Error generated on device 0x0, code 0xa004 [ALSOFT] (WW) Error generated on device 0x0, code 0xa004 [ALSOFT] (WW) Error generated on device 0x0, code 0xa004 [ALSOFT] (WW) Error generated on device 0x0, code 0xa004 [ALSOFT] (WW) Error generated on device 0x0, code 0xa004 [ALSOFT] (WW) Error generated on device 0x0, code 0xa004 [ALSOFT] (WW) Error generated on device 0x0, code 0xa004

ilya-fedin commented 1 year ago

The log says you have created .alsoftrc

vadimuz commented 1 year ago

@ilya-fedin OMG, I removed this file and it works!!! Thank you so much! I don't have any idea how .alsoftrc was created. It seems some other 3rd party software added this file. When you first time asked about .alsoftrc I thought it was in the root of the Telegram.

ilya-fedin commented 1 year ago

@vadimuz other people reporting this problem were saying they tried various instructions from internet including creating this file