Opened 2 years ago

Closed 2 years ago

#28017 closed defect (wontfix)

no sound on ALSA. MediaPlayback Warning OpenCubeb failed to init cubeb

Reported by: needle8420 Owned by: tbb-team
Priority: Low Milestone:
Component: Applications/Tor Browser Version:
Severity: Minor Keywords: alsa, audio
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


for audio playback on linux
firefox needs pulseaudio

without pulseaudio
firefox prints the cryptic warnings

[Child 4063, MediaPlayback #2] WARNING: 7f1413fe37c0 OpenCubeb() failed to init cubeb: file /var/tmp/build/firefox-f3a77068c185/dom/media/AudioStream.cpp, line 388
[Child 4063, MediaPlayback #2] WARNING: Decoder=7f141d749800 [OnMediaSinkAudioError]: file /var/tmp/build/firefox-f3a77068c185/dom/media/MediaDecoderStateMachine.cpp, line 3750

i would need to re-compile firefox with
in the mozconfig
for native alsa support

or with
for native jackaudio support

why i prefer alsa over pulseaudio?
cos alsa gives lower latency
and better audio video sync

pulseaudio is just too big for me


workaround: apulse

if you dont want to re-compile firefox
or if firefox completely drops alsa support

then use apulse
as pulseaudio emulator on alsa
its a partial implementation of the pulseaudio API
which runs faster than the whole PA server

apulse needs dmix
and edit your


to make torbrowser play audio to alsa

in your

exec "$basedir/firefox.real" "$@"

exec apulse "$basedir/firefox.real" "$@"


more on: firefox vs alsa

Child Tickets

Change History (1)

comment:1 Changed 2 years ago by gk

Resolution: wontfix
Status: newclosed

We won't maintain an ALSA fork, thus this is WONTFIX.

Note: See TracTickets for help on using tickets.