The branch stable/14 has been updated by avg:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=782b71ccfb1cd83a6c58e955a92ec7ace949036a

commit 782b71ccfb1cd83a6c58e955a92ec7ace949036a
Author:     Andriy Gapon <a...@freebsd.org>
AuthorDate: 2024-01-28 13:18:02 +0000
Commit:     Andriy Gapon <a...@freebsd.org>
CommitDate: 2024-02-17 14:18:04 +0000

    hdaa_pcmchannel_setup: do not advertise AC3 8+0
    
    The rest of the sound system supports 7+1 maximum and is not aware of 8+0.
    
    I believe that these messages are caused by 8+0:
    kernel: feeder_init(0xfffff801f935d680) on feeder_matrix returned 22
    kernel: pcm0: feeder_build_matrix(): can't add feeder_matrix
    
    (cherry picked from commit c053a56c0f5df6db5223316831142e1d8afff64f)
---
 sys/dev/sound/pci/hda/hdaa.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys/dev/sound/pci/hda/hdaa.c b/sys/dev/sound/pci/hda/hdaa.c
index 02f4babcd331..dcd10cb36510 100644
--- a/sys/dev/sound/pci/hda/hdaa.c
+++ b/sys/dev/sound/pci/hda/hdaa.c
@@ -5426,7 +5426,6 @@ hdaa_pcmchannel_setup(struct hdaa_chan *ch)
                if (HDA_PARAM_SUPP_STREAM_FORMATS_AC3(fmtcap)) {
                        ch->fmtlist[i++] = SND_FORMAT(AFMT_AC3, 2, 0);
                        if (channels >= 8) {
-                               ch->fmtlist[i++] = SND_FORMAT(AFMT_AC3, 8, 0);
                                ch->fmtlist[i++] = SND_FORMAT(AFMT_AC3, 8, 1);
                        }
                }

Reply via email to