From nobody Thu Apr 18 20:35:47 2024 X-Original-To: dev-commits-src-all@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 4VL8g74x36z5HX46; Thu, 18 Apr 2024 20:35:47 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VL8g74RdDz4MmS; Thu, 18 Apr 2024 20:35:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713472547; 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=VKUo9hbfezSIA2U5T3pieM1/XkM73mA0eVDZfNucKoQ=; b=n7KMHgl/LtFvsiAy8kKgnba5eU646ldFMSI5Jzb9D01yRnxonoArq9F7bRFguUg8b8xlPg r5Fbz1Vj5sJohnCopaImuQenzW0mTEBGkFudvkL65Vf4sIueuOmKvFxEmiT+F/TL+oMNSx xYiBh3rRPbKA3ILBiODYY2wIOPNw5SVAzcegy7iH5pll3Xoh9AhS6DYOdgVtt4qeKcy2bv exi+BAHpK1I6C6MTQfIfz8euIOuYhnw3JPamLfb8wYdrtf1dl3pJ5XaCD93k3Kv0c6NeZU 61AXADvVz5orKZFX7+A7EbmFXe+aLq1fjg/NQ34HEtw8gK5ChikH8v7Re4gOlA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713472547; a=rsa-sha256; cv=none; b=VibGBVIsPx4O/W3c51IDjfBgKXoXtyaE4ZnuC3EBgIKJe/Gcfx1gs83uCEP71cwKV4sua/ K36LpraYeBlpwkKxFab+ovQdhk0G9w8LPVoDYOPtPSy+qv51+OcoY3G4mTRJS4wGwtFWKO zFcOGruJMNs3h1Oeav19BQuBv5w0dEydYHcF8feas9ehLKmcW6/cUpCo9sVQEcZMU6Lqi1 PQ7NAGyrTYRWmtOuD86rFTLAAJqtL3q556ekuzxeKPms9ibC0XsTz/ARpnYF8BDCUiGJco UmHnbgGKnUjWbVVdDJlcEmif3akDYV87elIlirP8kFRZHZbqhTkf6h1ph0e9LQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713472547; 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=VKUo9hbfezSIA2U5T3pieM1/XkM73mA0eVDZfNucKoQ=; b=Lg91UQJfVSALWd5Am+eMUngjYqrEPreWFjbFz68SKwY6WI/A6Q3fBED6G2ibStrz1CFFG8 pQpy5W+UAxAhYFEvZ76JTpO4N1WMWjw7Zjh3mVdneP8OSUaOLzLs9UCtpsOMflpafxERjl olM9uHhMQEjAlanC5jfuDd9rgEHGfYPM6uLDPiukm8Pgeg+9oQ+O1LZwv/d5Yc/AcvW2R0 ysVii0XrceWFL1RHZOj2p5aI1DrAlbgdfkEx0cC7+nDth/lEexlGBk98mComCmewFQ5CtV /Q7HehA/3WME/nkeDmv83jDCFtkP6In2GaeeuHR5H1lqhvMVqz5d1byejGlEnA== 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 4VL8g74311zPHG; Thu, 18 Apr 2024 20:35:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43IKZlbI056583; Thu, 18 Apr 2024 20:35:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43IKZlfv056580; Thu, 18 Apr 2024 20:35:47 GMT (envelope-from git) Date: Thu, 18 Apr 2024 20:35:47 GMT Message-Id: <202404182035.43IKZlfv056580@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: d0032e6a9e65 - main - sound: Be more verbose with virtual channel descriptions List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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: d0032e6a9e6596302bf129d7f68a627a02c6cd0a Auto-Submitted: auto-generated The branch main has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=d0032e6a9e6596302bf129d7f68a627a02c6cd0a commit d0032e6a9e6596302bf129d7f68a627a02c6cd0a Author: Christos Margiolis AuthorDate: 2024-04-18 20:34:45 +0000 Commit: Christos Margiolis CommitDate: 2024-04-18 20:35:36 +0000 sound: Be more verbose with virtual channel descriptions Non-virtual channel description denote "play" or "record", so do the same for virtual ones as well. Sponsored by: The FreeBSD Foundation MFC after: 1 week Reviewed by: markj, emaste Differential Revision: https://reviews.freebsd.org/D44839 --- sys/dev/sound/pcm/sound.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/sound/pcm/sound.c b/sys/dev/sound/pcm/sound.c index 52ead91853e9..4b5c2573239c 100644 --- a/sys/dev/sound/pcm/sound.c +++ b/sys/dev/sound/pcm/sound.c @@ -461,7 +461,7 @@ pcm_chn_create(struct snddev_info *d, struct pcm_channel *parent, kobj_class_t c max = SND_MAXHWCHAN; break; case PCMDIR_PLAY_VIRTUAL: - dirs = "virtual"; + dirs = "virtual_play"; direction = PCMDIR_PLAY; pnum = &d->pvchancount; device = SND_DEV_DSPHW_VPLAY; @@ -475,7 +475,7 @@ pcm_chn_create(struct snddev_info *d, struct pcm_channel *parent, kobj_class_t c max = SND_MAXHWCHAN; break; case PCMDIR_REC_VIRTUAL: - dirs = "virtual"; + dirs = "virtual_record"; direction = PCMDIR_REC; pnum = &d->rvchancount; device = SND_DEV_DSPHW_VREC;