[Bug 284435] [pcm] no /dev/dspX.vpY created when playing sound.

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 30 Jan 2025 19:46:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284435

Christos Margiolis <christos@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |christos@freebsd.org
             Status|New                         |Open

--- Comment #1 from Christos Margiolis <christos@freebsd.org> ---
Hello Thandeka,

I changed the behavior you are describing as of 14.1. Previously each device
would create a /dev/dspX.Y node for each channel opened. I scrapped this
mechanism to instead create a single /dev/dspX file for each device, and handle
all the channel routing internally.

The actual commit and a more in-depth explanation can be found here:
https://cgit.freebsd.org/src/commit/?id=e8c0d15a64fadb4a330f2da7244becaac161bb70

Regarding not being able to change a specific process' volume with mixer(8)
anymore, this was actually discouraged even before: "Users are strongly
discouraged to access them directly." (in reference to the /dev/dspX.Y
channels).

I am thinking of adding per-process volume handling in the mixer utility at
some point in the future as a quality-of-life feature, but normally per-process
volume should be handled from inside the process itself.

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