From nobody Fri May 17 19:30:48 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 4Vgxrm5bstz5LgBP; Fri, 17 May 2024 19:30:48 +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 4Vgxrm58KQz4tVd; Fri, 17 May 2024 19:30:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715974248; 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=+NzdisA4dtTGSR0GgWfRMaADF2kBcgPicxvuxPZcxKM=; b=CvXqpgxTsGA6w2WaD5zSnnbmsRyBXl64eUF9s4nTrEw1+s4LaO3vMI2axuPZ4syiHCVqYn UP1e5MiWQ6U6cDhHl+T/qpaeTB3WNAFlhcISQ+bbkKppPT5n6tagsCe0tgezlv80k0yBXu ZdxlAsNLzw0SjmCluVuPCDovlZ8O7H1NM75abmlJsABb7BNmFOouVu6DxU4yMVvIf7HtWP Rt+cx3/H0768oR45V6VNr4v33kzc+/guS1g+6COjl3DJCWLRHhm6X2hqMR4cn/LLHJq0Bs R1KrPRvJdBvevRC2rm6laKjphgrALD6+lezasUp3MavCZ58NT49+A6b2OdG7kw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715974248; a=rsa-sha256; cv=none; b=dG1HlbsQHdxDBH+N1Q+oTWaBNdSRLcCd59A4Jg3DlPLtOMFOR7P6/nMGjVCujF2PZ3k0WO 1F8OWxz1NN/T8b2VeIvJ0SZbUOmgVLkw9GdGNId51MEB9fqEt/RnSwn3vIlNwTZ1RnlIDk 8QGIveVqTwYcNmOUoSfkvAJXQiotuO2UL5FZgbsFJEzGErCzFfCBl6jhkFZPhbHa/90zHZ 6Kkjcy/EjHLAoR/giwzETwDUycCZH9wyAN1AZ7iB28NIqaAmQRBm24bDwkvtTl7jwfiwxX VpG6RrVnZaFjjkpfHt28S5UIGXq9MmbcVWUVh9s0poVTWTE2S+6JA+o8vR63tA== 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=1715974248; 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=+NzdisA4dtTGSR0GgWfRMaADF2kBcgPicxvuxPZcxKM=; b=cDBpLEHt5kD0Bv9Wb/bXW8dL1OcpUGU8tvNFMCSc3TJ4vOz4oPZglvkXQqeymYzRcTJ1AT BQP6uCPDyCDoQlbot69RwzGcfdhlKErhnwaq0G/l1arK2hmx36kyBDEjBEexEob9YaKz95 9U2OR/0FdwbS709Zu7FSMGDcOwzfId3LSFhf67k0iYsAvS7Q7lXDwnU20XVEM1vGrTDz+q yFIPUukdXglfhOPIZ6NZcjcvgXx+6Q+hCcpikaPffNnDOBcclNHri0j57vYddBpep8gH8S kylONEQFgm1XIR3jEzcHwrQxNdITsO3tVPMLZEmEm0PW4YVeI77rE5ZAzsEz6g== 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 4Vgxrm4lbBzvqx; Fri, 17 May 2024 19:30:48 +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 44HJUmnI099114; Fri, 17 May 2024 19:30:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44HJUm28099111; Fri, 17 May 2024 19:30:48 GMT (envelope-from git) Date: Fri, 17 May 2024 19:30:48 GMT Message-Id: <202405171930.44HJUm28099111@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Christos Margiolis Subject: git: 8771127d75a1 - stable/14 - 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/stable/14 X-Git-Reftype: branch X-Git-Commit: 8771127d75a1295dd32abd0022ff3750bc564706 Auto-Submitted: auto-generated The branch stable/14 has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=8771127d75a1295dd32abd0022ff3750bc564706 commit 8771127d75a1295dd32abd0022ff3750bc564706 Author: Christos Margiolis AuthorDate: 2024-04-18 20:34:45 +0000 Commit: Christos Margiolis CommitDate: 2024-05-17 19:30:01 +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 (cherry picked from commit d0032e6a9e6596302bf129d7f68a627a02c6cd0a) --- 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 2057c7572ad6..83248efd3f37 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;