Bug 262365 - www/chromium: microphone does not work anymore
Summary: www/chromium: microphone does not work anymore
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Rene Ladan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-05 16:49 UTC by Oleh Hushchenkov
Modified: 2022-03-05 22:06 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (chromium)


Attachments
0001-unbreak-alsa-audio-recording-by-bringing-back-a-remo.patch (3.18 KB, patch)
2022-03-05 18:51 UTC, Robert Nagy
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oleh Hushchenkov 2022-03-05 16:49:23 UTC
After update to v99(or even v98) microphone stopped working.
With v97 it works. I use ALSA audio backend.
Comment 1 Robert Nagy 2022-03-05 18:51:29 UTC
Created attachment 232271 [details]
0001-unbreak-alsa-audio-recording-by-bringing-back-a-remo.patch

Hi

The attached patch brings back a deleted alsa patch. However I still suggest to use sndio because that is the most tested and used backend.
Anyways you can also try the follow package, which has the patch included
already: https://nerd.hu/tmp/chromium-99.0.4844.51_1.pkg
Comment 2 Oleh Hushchenkov 2022-03-05 19:05:21 UTC
(In reply to Robert Nagy from comment #1)
The patch works.

I have used sndio backend before and had some troubles with it. But I can't remember details.

Thank you Robert.
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-03-05 22:03:43 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fd50b0334df1c720befc62ae613bfa8862efb336

commit fd50b0334df1c720befc62ae613bfa8862efb336
Author:     Robert Nagy <robert@openbsd.org>
AuthorDate: 2022-03-05 22:01:23 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2022-03-05 22:03:19 +0000

    www/chromium: fix audio playback with ALSA

    PR:             262365
    Reported by:    o.hushchenkov@gmail.com
    Tested by:      o.hushchenkov@gmail.com

 www/chromium/Makefile                              |  1 +
 ...-media_audio_alsa_audio__manager__alsa.cc (new) | 54 ++++++++++++++++++++++
 2 files changed, 55 insertions(+)
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-03-05 22:04:44 UTC
A commit in branch 2022Q1 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9c9e497796708b460147da46bbc00e6e5c8df7e5

commit 9c9e497796708b460147da46bbc00e6e5c8df7e5
Author:     Robert Nagy <robert@openbsd.org>
AuthorDate: 2022-03-05 22:01:23 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2022-03-05 22:04:29 +0000

    www/chromium: fix audio playback with ALSA

    PR:             262365
    Reported by:    o.hushchenkov@gmail.com
    Tested by:      o.hushchenkov@gmail.com

    (cherry picked from commit fd50b0334df1c720befc62ae613bfa8862efb336)

 www/chromium/Makefile                              |  1 +
 ...-media_audio_alsa_audio__manager__alsa.cc (new) | 54 ++++++++++++++++++++++
 2 files changed, 55 insertions(+)