[Bug 270642] no sound on firefox 112.0 with sndio backend

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 04 Apr 2023 16:54:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270642

            Bug ID: 270642
           Summary: no sound on firefox 112.0 with sndio backend
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gecko@FreeBSD.org
          Reporter: ps.ports@smyrak.com
             Flags: maintainer-feedback?(gecko@FreeBSD.org)
          Assignee: gecko@FreeBSD.org
                CC:

Upgrading Firefox to 112 with sndio backend breaks audio playback. Immediate
downgrade to the previous version restores the playback.

Port options for www/firefox on the repro system:
OPTIONS_FILE_SET+=CANBERRA
OPTIONS_FILE_UNSET+=DBUS
OPTIONS_FILE_UNSET+=DEBUG
OPTIONS_FILE_UNSET+=FFMPEG
OPTIONS_FILE_UNSET+=LIBPROXY
OPTIONS_FILE_UNSET+=LTO
OPTIONS_FILE_SET+=OPTIMIZED_CFLAGS
OPTIONS_FILE_SET+=PROFILE
OPTIONS_FILE_UNSET+=TEST
OPTIONS_FILE_UNSET+=ALSA
OPTIONS_FILE_UNSET+=JACK
OPTIONS_FILE_UNSET+=PULSEAUDIO
OPTIONS_FILE_SET+=SNDIO

The following messages are present in the console, when the browser attempts to
play a media:

[Child 38822, MediaDecoderStateMachine #1] WARNING: 82f78b140 OpenCubeb()
failed to init cubeb: file
/usr/ports/www/firefox/work/firefox-112.0/dom/media/AudioStream.cpp:281
[Child 38822, MediaDecoderStateMachine #1] WARNING: Decoder=82b368400
[OnMediaSinkAudioError]: file
/usr/ports/www/firefox/work/firefox-112.0/dom/media/MediaDecoderStateMachine.cpp:4564

Sites used for audio output testing:
* http://hpr.dogphilosophy.net/test/
*
https://tools.woolyss.com/html5-audio-video-tester/?u=woolyss.com/f/caminandes-1-llama-drama-av1-opus.webm
* youtube.com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.