Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 May 2020 01:52:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 246208] dev/sound: SNDCTL_DSP_GETPLAYVOL does not work on vchans
Message-ID:  <bug-246208-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246208

            Bug ID: 246208
           Summary: dev/sound: SNDCTL_DSP_GETPLAYVOL does not work on
                    vchans
           Product: Base System
           Version: 12.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: kevinz5000@gmail.com

The ioctl SNDCTL_DSP_GETPLAYVOL gets the volume of the given device, see:

http://manuals.opensound.com/developer/SNDCTL_DSP_GETPLAYVOL.html

This ioctl works on clone devices (e.g. /dev/dsp, /dev/dsp0, /dev/dsp0) but
returns EINVAL for vchan devices (e.g. /dev/dsp0.vp0).

It seems to me that this ioctl should work on vchans as well, for example, =
to
query the volume on virtual channels.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246208-227>