Sound would turn on and off, and at times, only play in one Firefox window and not others. One time, sound from Firefox randomly came on. This is on FreeBSD 14.0 with firefox-120.0,2.
Sometimes, restarting the PC wouldn't fix it, and killing dbus also killed the firefox process. For those wondering, I tried the configuration options in about:config in the address bar, but didn't see any of sndiod, cubeb or pulse (pulseaudio) which could be changed.
Restarting sndiod(8) worked:
To let you know, this didn't have to do with mute on the newer implementation of mixer(8). Toggling mute will show the status of mute on the command line:
Hopefully, this helps a few FreeBSD users with their audio working inconsistently on Firefox. As long as I can get the sound to work. Also, is there anything needed for a more consistent fix, preferably continuing with sndio?
Sometimes, restarting the PC wouldn't fix it, and killing dbus also killed the firefox process. For those wondering, I tried the configuration options in about:config in the address bar, but didn't see any of sndiod, cubeb or pulse (pulseaudio) which could be changed.
Restarting sndiod(8) worked:
service sndiod restart
. For consistency, I'm unable to tell what the behavior will be and if that will continue to work. Seems good that this default package of Firefox is running on sndiod compiled in.To let you know, this didn't have to do with mute on the newer implementation of mixer(8). Toggling mute will show the status of mute on the command line:
mixer vol.mute=^
. This mute status doesn't show in audio/osdmixer, as it only displays mute when the volume is reduced to 0 regardless of the status of that newer mute function. The audio can be tested with other applications.Hopefully, this helps a few FreeBSD users with their audio working inconsistently on Firefox. As long as I can get the sound to work. Also, is there anything needed for a more consistent fix, preferably continuing with sndio?