From nobody Sat Oct 18 13:18:07 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cpj1D0WTtz6D7Tp; Sat, 18 Oct 2025 13:18:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cpj1C73Csz3JJ7; Sat, 18 Oct 2025 13:18:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760793488; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=z7K4HjGmVW6uX5MMzWqULXOY5bkywsj/zMnstj1t0Nc=; b=H/jfPDwRz0/nA88z0xQuMKwRiG3ugFsDajXUUEW/x8/rbii4rh7j1noV5UIEdiA/AruCLf D3w3ZJoTdmm1Xh7ae8lI+MMJ1tFcQmKvoRAYqcz6c0N+4hFYKfaHz8m/VH4FiSQR8qqdv+ kdsAvgIBOKwQWkphO+h4sZ9CjhfK2ZAgqaK38tBavs7HnbGvu99OZKTWmG92GX0z7Ro9Wa N45vR53tg/OAkc4gKDNWM+y6PfJv2w4kmO1dUxEtclb8vwF8NnVe3heFuIr36e+4KaXt6x zrQZcbCa/Cw8/aW6Mpmnxd2S2JJejPfOIbR/U1a1ZOzgDtQ0WR0+5AZpPN8kqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760793488; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=z7K4HjGmVW6uX5MMzWqULXOY5bkywsj/zMnstj1t0Nc=; b=COwYxrmocF4KWLchWz5iIXEK/Zvp9nM4s2aG400rvtjja8JbRpdYjy8zUglmqCEv/XZbTe 38Uqxz6ZeBRMiFQTR5hxZyZzD+fI6HOKDOC37Os58ws+NTl/C3T0R0ZPoLLa57O8A2mXQf cxMJpSdpkVKb83jLIQpBoHZtDhzGNKPbQSD4tolMsN7m6iP+W61dIJ+2CBAh7ZGzXqhs2N xpe/MfdAqgjCj86kRi84XocYLFvABosjkcFMzR2ji4cJBZwmW+EwrPZGFGifSd5iUb/WK8 ulxHSJZduDvVkJIFs7Zx5Se+yvhIRxrO609B5V+NFgnGt0l3dJs37dgvdDLmzw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1760793488; a=rsa-sha256; cv=none; b=QhBqKvLAJY33lf9wjz1I/fP2IJG7wFp4klqIotWzldeNgAkNTy+GtbCxKeXttGQFUcaDou Pe7vOj1SEI5JecbH90QDhxZw6QK0pBsWzFVcE069IydPx3sQui+AdOO7rwZP9x/2U+5S+z kx0oeQL2EbSC/9oCnfpP2rxnwTquiNbIdoFVD1i+ZD5Fcq/38IFEWuD3IVvpr9y0E0A+Fi G7rF/Ga/VzQe99ZAB5SZZ/g3+MmawSjdvZDHYqWTPnJfhaI0L3HbEk3R7N3/SM2YVDAEzq 3sj4OId4muGcPtv5Day6BOM7BmhFmt1b1mvDPH4pflIjnhptl5uXu0s7tG72/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cpj1C6Mr8zjhl; Sat, 18 Oct 2025 13:18:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 59IDI72c064445; Sat, 18 Oct 2025 13:18:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 59IDI766064442; Sat, 18 Oct 2025 13:18:07 GMT (envelope-from git) Date: Sat, 18 Oct 2025 13:18:07 GMT Message-Id: <202510181318.59IDI766064442@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Christos Margiolis Subject: git: 56eee778325b - main - devd/snd.conf: Note that any command can be used for the action List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: christos X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 56eee778325b2c839cfbc86a7fec4a355c51ba58 Auto-Submitted: auto-generated The branch main has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=56eee778325b2c839cfbc86a7fec4a355c51ba58 commit 56eee778325b2c839cfbc86a7fec4a355c51ba58 Author: Christos Margiolis AuthorDate: 2025-10-18 13:17:38 +0000 Commit: Christos Margiolis CommitDate: 2025-10-18 13:17:38 +0000 devd/snd.conf: Note that any command can be used for the action Sponsored by: The FreeBSD Foundation MFC after: 1 day Differential Revision: https://reviews.freebsd.org/D53175 --- sbin/devd/snd.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sbin/devd/snd.conf b/sbin/devd/snd.conf index cf9cd9e94191..a45f427f6c79 100644 --- a/sbin/devd/snd.conf +++ b/sbin/devd/snd.conf @@ -5,6 +5,9 @@ notify 0 { match "type" "IN"; match "cdev" "dsp[0-9]+"; + # Other audio servers or device switching commands can be used here + # instead of virtual_oss(8). + # # FIXME: We are hardcoding /dev/vdsp.ctl here, simply because it is a # common virtual_oss control device name. Until we find a proper way to # define control devices here, /dev/vdsp.ctl can be changed to the @@ -18,6 +21,6 @@ notify 0 { match "type" "OUT"; match "cdev" "dsp[0-9]+"; - # FIXME: See comment above. + # See comment above. action "/usr/sbin/virtual_oss_cmd /dev/vdsp.ctl -P /dev/$cdev"; };