[Bug 258711] New mixer(8) fails to adjust virtual channels

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 25 Sep 2021 03:44:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258711

            Bug ID: 258711
           Summary: New mixer(8) fails to adjust virtual channels
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
                CC: christos@freebsd.org, hselasky@FreeBSD.org

$ mpv foo.mp3
$ sysctl hw.snd.verbose=2
$ fgrep -A3 mpv /dev/sndstat
        pcm3:play:dsp3.p0[pcm3:virtual:dsp3.vp0]: spd 48000, fmt
0x00201000/0x00200010, flags 0x1000010c, 0x00000023, pid 1585 (mpv)
        interrupts 0, underruns 0, feed 119173, ready 6912
[b:0/0/0|bs:8192/1024/8]
        channel flags=0x1000010c<RUNNING,TRIGGERED,BUSY,VIRTUAL>
        {userland} -> feeder_root(0x00201000) -> feeder_format(0x00201000 ->
0x00200010) -> feeder_volume(0x00200010) -> {hardware}

$ mixer -f /dev/dsp3.vp0
mixer: mixer_open: /dev/dsp3.vp0: Invalid argument

$ mixer.old -f /dev/dsp3.vp3
Mixer pcm      is currently set to  45:45

Real example: https://people.freebsd.org/~ariff/utils/appsmixer

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