[Bug 246208] dev/sound: SNDCTL_DSP_GETPLAYVOL does not work on vchans
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue May 5 01:52:32 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246208
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 at FreeBSD.org
Reporter: kevinz5000 at 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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list