From nobody Sat Jul 27 11:56:17 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 4WWNPZ0QQwz5S6R2; Sat, 27 Jul 2024 11:56:18 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WWNPY4fT6z42n5; Sat, 27 Jul 2024 11:56:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722081377; 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=HFvNIk5iNup6w7ZfvNcO9CGMtpjwIWQ8a/i8NY033ps=; b=aDBnCRx4JkgQnapKNGMeaGrjOrKZs9g9faNYMKVIuICJ1ezdRK2hhEWAH1deWmEnc0aQ/t j+p+I3DSec4pLBHYZlzBy195cFs+ppJxQyk0AfI3wIfiaqH65xqU57vTzCP9+MariyIoC0 9mbmT1IliR4ktcB6gmnPPHXhSrxbhw4bcQUHppKMmgE+t0hXfA4zmWGLnmd7bIoZ8t++U7 aBi13cW9keAFUGUTS0lw/fURRMH2KHLiL0uVD/x+7c1rAVYKfCPGKvxU/i1OV+pEfLsR5m m2Lt6wCo8UfoILCAkvu2xWZIHjtEiNnptRoxDMKtqKvgU7/uOiK8n2/Y/Tctfw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722081377; a=rsa-sha256; cv=none; b=INgJYeS+v8arOm19EsZFWy5qnqRd+9vLe0r0xr1qkdaATtu95RRhaFkW0LMOhhugLcFt4e 8kHZzqCK0ftV1pU3QitNlOgHvABamB5jVYTPh8P04P1Fdm2ZIJPRCIA8nLZhkA+Mn4SIal X04pjD2rlEL2qKVhukfMfRL1zV30wNQo/QIo1Gsz4CtByyEOccjjrMsx4c7dsDwxLEclm9 o4x7YmnZ0Vl0VO03EHpIRbu40GiNbj7QqUTjrnvSUZIwglZK6vRPHg1NoMQNps1ASGytRg pz2w556cNW0CCWUUcXE3kkgB43kHV2dBKn7HZxTKodAoyQV0ddBf2HuIfv2gLA== 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=1722081377; 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=HFvNIk5iNup6w7ZfvNcO9CGMtpjwIWQ8a/i8NY033ps=; b=o/UYtYFda4yfGgY0ty5ZT2baNqKt1fYb9/F3RnnJ4FSRxT08o6Z1KyahNW0IBWRaZYb/u7 XUgX90/QPYAJbFGbFoeK2Q13F48KwkVdBn7SQDb0rV2wfgaYnWQooIt1mthxgZDtS0N36e Prqd5D2PKaRXcnBFoLeMFZ32cGCT+ivgBvZLbDQ9NQMLImJ2f8iT4T/bmOgEulWMUHDUaR PJ3DgtDXYIQ/e5nnMRmSKddyg5Mo+4F11pbGVqJk0h+VE8VNuegC/B6KtbZ4ClnmDIXF9o AC/lu+qpiR4Xde2LoLaAX1yrIQcg5j/Qh5VGnCLerEgfUktxFuj2xBCAcfooVQ== 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 4WWNPY4FRkz15YN; Sat, 27 Jul 2024 11:56:17 +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 46RBuHaD039610; Sat, 27 Jul 2024 11:56:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46RBuH4x039607; Sat, 27 Jul 2024 11:56:17 GMT (envelope-from git) Date: Sat, 27 Jul 2024 11:56:17 GMT Message-Id: <202407271156.46RBuH4x039607@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: cb00491fbc51 - main - sound examples: Organize files in directories 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: cb00491fbc51751fe166056cc69e23beeb26fee4 Auto-Submitted: auto-generated The branch main has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=cb00491fbc51751fe166056cc69e23beeb26fee4 commit cb00491fbc51751fe166056cc69e23beeb26fee4 Author: Christos Margiolis AuthorDate: 2024-07-27 11:54:35 +0000 Commit: Christos Margiolis CommitDate: 2024-07-27 11:54:35 +0000 sound examples: Organize files in directories More examples will be added, so it's better to be organized. Sponsored by: The FreeBSD Foundation MFC after: 2 days Reviewed by: dev_submerge.ch, markj Differential Revision: https://reviews.freebsd.org/D45968 --- share/examples/Makefile | 11 +++++++---- share/examples/sound/{ => oss}/README | 0 share/examples/sound/{ => oss}/basic.c | 0 share/examples/sound/{ => oss}/midi.c | 0 share/examples/sound/{ => oss}/ossinit.h | 0 share/examples/sound/{ => oss}/ossmidi.h | 0 6 files changed, 7 insertions(+), 4 deletions(-) diff --git a/share/examples/Makefile b/share/examples/Makefile index 61e21f9350c1..8839075452af 100644 --- a/share/examples/Makefile +++ b/share/examples/Makefile @@ -314,12 +314,15 @@ SE_SCSI_TARGET= \ scsi_cmds.c SE_DIRS+= sound -SE_SOUND= \ +SE_SOUND= + +SE_DIRS+= sound/oss +SE_SOUND_OSS= \ + README \ basic.c \ - ossinit.h \ - ossmidi.h \ midi.c \ - README + ossinit.h \ + ossmidi.h SE_DIRS+= sunrpc SE_SUNRPC= Makefile diff --git a/share/examples/sound/README b/share/examples/sound/oss/README similarity index 100% rename from share/examples/sound/README rename to share/examples/sound/oss/README diff --git a/share/examples/sound/basic.c b/share/examples/sound/oss/basic.c similarity index 100% rename from share/examples/sound/basic.c rename to share/examples/sound/oss/basic.c diff --git a/share/examples/sound/midi.c b/share/examples/sound/oss/midi.c similarity index 100% rename from share/examples/sound/midi.c rename to share/examples/sound/oss/midi.c diff --git a/share/examples/sound/ossinit.h b/share/examples/sound/oss/ossinit.h similarity index 100% rename from share/examples/sound/ossinit.h rename to share/examples/sound/oss/ossinit.h diff --git a/share/examples/sound/ossmidi.h b/share/examples/sound/oss/ossmidi.h similarity index 100% rename from share/examples/sound/ossmidi.h rename to share/examples/sound/oss/ossmidi.h