From nobody Mon May 06 18:36:41 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 4VY99Q2JxKz5J2ln; Mon, 06 May 2024 18:36:42 +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 4VY99P63kwz4sqw; Mon, 6 May 2024 18:36:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715020601; 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=cHUeC7u2TP/f6J0n0GeuvjiH4czzF5O1OfbcOrAFPg4=; b=ViyFtPiKeb/WfM0IRio3W3/ccvFb8qYmxw2Za58QTIzF7acM4k7OTv3PYZapI8imJRiaSr uglDGqwnfiyq/x9FEmkpmi2/+QW8zFNDYTNRFt0umHoyjJaRbxHXH6Cdk+ce3Bzaszont0 WdmqQUHwDKK4+Fobos7xGrY4Onii3vBuhBTrr25FnFzbOoq3Q3AkoxzmHTVVSsJvKzq6T5 AbDoN/pffauus4GuqMfUMQ0sIYmziD2gwkVW5Zu+lKKBstad6MMLdp8Oli25JhwutnfBLa Gf/y5mDR2poNqqW6DJFgBr0MYS9Lojj+JJjZMbUbv4YOyf1RSV08Ipcf4sgkLA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715020601; a=rsa-sha256; cv=none; b=xLed65+171iWyFE9IvYJNoTi6HTsxWW24D97CJAguukxyCBFRAwbjYTChkFvZ6u6GdgCXF ysKbgqK94oseCRHMGKTVdL1vmWKgn9Kw13xAMSQVPs7TOKCSDaqWTW+CaG8xAYuFbs33JR L1cxmeBCPczD4hKGbGkjrrDtRiGslu9yBg5PUpuHKZAyJ6+/w8m1rxyQx9I2pGmLaiI1xB om47EjeI/ucjvjNcwRyPFzwFwdNJDED1wD5oiDyGF2Zq+G1UyFilu3ti2YXefPc+1koeZB OeDABWgFYqRTVz0aTj+GKrC5eJVA8NjNJZCmPLWeK3JXqUv5hXJVFNapLU6l/A== 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=1715020601; 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=cHUeC7u2TP/f6J0n0GeuvjiH4czzF5O1OfbcOrAFPg4=; b=lB6HdUJKmbaiCTxpsbf7b/T79B43R4qJPLa+QiH0qXqgJGCqm2jPc8zJBIE9K9xIHhIu/e uDR8/kxmIDpt8d8Xw9xDxOiWOqx7rv8vNDq5+1FObeaMdPjQ+pDgkmBWvm+PFe62AiDmZg yuZBMmv/f07b7dz/YWUs9BFYHI4UtoLvK7UmDexZQEEGG0774CPh/dPP7K/LNVXnZCvvbl 34UotqM9VZLSpwizS46uaosxQ15Ot+TThKBp4DHa0fP6FcjPhcNNUo/mXeHjO3uDJGiHMJ D5t8ay4NbbPXw/qhPeAm2r8CtluIu1BCsAjgGDxQf9yv2837wSi3Aj+PrBhwmA== 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 4VY99P5gRgz16xG; Mon, 6 May 2024 18:36:41 +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 446Iafsj060359; Mon, 6 May 2024 18:36:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 446IafYP060356; Mon, 6 May 2024 18:36:41 GMT (envelope-from git) Date: Mon, 6 May 2024 18:36:41 GMT Message-Id: <202405061836.446IafYP060356@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: 77ab4263bc42 - main - sound: Rename pcm_getparentchannel() to vchan_getparentchannel() 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: 77ab4263bc42a5dcc102bbea39ce4f7f46b8d4f8 Auto-Submitted: auto-generated The branch main has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=77ab4263bc42a5dcc102bbea39ce4f7f46b8d4f8 commit 77ab4263bc42a5dcc102bbea39ce4f7f46b8d4f8 Author: Christos Margiolis AuthorDate: 2024-05-06 18:32:57 +0000 Commit: Christos Margiolis CommitDate: 2024-05-06 18:35:55 +0000 sound: Rename pcm_getparentchannel() to vchan_getparentchannel() Follow the rest of the vchan.c naming convention. No functional change intended. Sponsored by: The FreeBSD Foundation MFC after: 1 week Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D45016 --- sys/dev/sound/pcm/vchan.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sys/dev/sound/pcm/vchan.c b/sys/dev/sound/pcm/vchan.c index 9df23298b742..904ce6661675 100644 --- a/sys/dev/sound/pcm/vchan.c +++ b/sys/dev/sound/pcm/vchan.c @@ -251,7 +251,7 @@ static kobj_method_t vchan_methods[] = { CHANNEL_DECLARE(vchan); static void -pcm_getparentchannel(struct snddev_info *d, +vchan_getparentchannel(struct snddev_info *d, struct pcm_channel **wrch, struct pcm_channel **rdch) { struct pcm_channel **ch, *wch, *rch, *c; @@ -380,9 +380,9 @@ sysctl_dev_pcm_vchanmode(SYSCTL_HANDLER_ARGS) PCM_UNLOCK(d); if (direction == PCMDIR_PLAY) - pcm_getparentchannel(d, &c, NULL); + vchan_getparentchannel(d, &c, NULL); else - pcm_getparentchannel(d, NULL, &c); + vchan_getparentchannel(d, NULL, &c); if (c == NULL) { PCM_RELEASE_QUICK(d); @@ -482,9 +482,9 @@ sysctl_dev_pcm_vchanrate(SYSCTL_HANDLER_ARGS) PCM_UNLOCK(d); if (direction == PCMDIR_PLAY) - pcm_getparentchannel(d, &c, NULL); + vchan_getparentchannel(d, &c, NULL); else - pcm_getparentchannel(d, NULL, &c); + vchan_getparentchannel(d, NULL, &c); if (c == NULL) { PCM_RELEASE_QUICK(d); @@ -591,9 +591,9 @@ sysctl_dev_pcm_vchanformat(SYSCTL_HANDLER_ARGS) PCM_UNLOCK(d); if (direction == PCMDIR_PLAY) - pcm_getparentchannel(d, &c, NULL); + vchan_getparentchannel(d, &c, NULL); else - pcm_getparentchannel(d, NULL, &c); + vchan_getparentchannel(d, NULL, &c); if (c == NULL) { PCM_RELEASE_QUICK(d);