From owner-freebsd-ports@freebsd.org Mon Dec 18 16:11:56 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 47E24E96D49 for ; Mon, 18 Dec 2017 16:11:56 +0000 (UTC) (envelope-from Alexander@leidinger.net) Received: from mailgate.Leidinger.net (bastille.leidinger.net [89.238.82.207]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E112216F3 for ; Mon, 18 Dec 2017 16:11:54 +0000 (UTC) (envelope-from Alexander@leidinger.net) Date: Mon, 18 Dec 2017 17:11:20 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1513613505; bh=jDu6lG9N2ms3h+a3N3FCalDow7FASSqC8fqY4nj6+pI=; h=Date:From:To:Subject:References:In-Reply-To; b=m2vA5jO0vB3hbl8du4DLwgnm0NXRumvTj+07R+MsQPM671Pi/jke94qjUBdw1O0lq 0Ms6f/OIX1Pu4iup5WIRZP2+kg+8bH6SicMRyTyA9EaqUuZw8eqJjCVPTT9d0wkiza E9ZMh7IYR+nAvX0mxhAsl8IGJOy0F6tCPsybPxYtaH6JpP9JgD46Dzwabs//0DrHEi +9GTamc70NwuyIrOEEiDhb2cB7Ot586+5EqHMavCDo/8kxA8WATVIQL9eOqZtTU/lF pqLqFeLog1VX2EWvTbSg7RCmGGJ2Fv/5ZJKkxTZMMyjWX6XX076EEltYz6HSsQCUdG 2tgeUcGsBDK7Q== Message-ID: <20171218171120.Horde.s5OngVFuRoftIluNHRvGOV6@webmail.leidinger.net> From: Alexander Leidinger To: freebsd-ports@freebsd.org Subject: Re: OSS Audio References: In-Reply-To: User-Agent: Horde Application Framework 5 Content-Type: multipart/signed; boundary="=_g0ARV2vhdwQ-vwyuWy6-4GV"; protocol="application/pgp-signature"; micalg=pgp-sha1 MIME-Version: 1.0 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Dec 2017 16:11:56 -0000 This message is in MIME format and has been PGP signed. --=_g0ARV2vhdwQ-vwyuWy6-4GV Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoting Sid (from Sat, 16 Dec 2017 23:53:17 +0100): > I've had a few misconceptions. > > Bluebee Blubeeme said, 4Front has a modern OSS implementation that=20=20 >=20is under a FreeBSD license. > > The model of Sound on FreeBSD is, three layers: > 1. The API, where programs use libraries (of respective sound=20=20 >=20architecture) to access the sound server. > 2. The sound server: OSS, Sndio, Portaudio, JACK, ALSA, native, etc > 3. FreeBSD's base is always OSS (OpenBSD's driver is sndio); sound=20=20 >=20servers connect to and use this. It's a little bit different. From application to hardware it is like: 5) application 4) maybe some infrastructure layer (jack, portaudio) 3) the API (for linux: ALSA libs, for FreeBSD: opening the device=20=20 nodes=20and issues ioctls =3D the OSS API) 2) the kernel code 1) the hardware So FreeBSD is a target from layer 2 until layer 3. Everything above=20=20 depends=20100% on the application you are using. > The part of OSS in name, that is a mess, is the API structure, and=20=20 >=20various implementations. In FreeBSD for instance, when a program=20=20 >=20uses an OSS API, I hear that developers, need to write so many=20=20 >=20patches, because different OSS frontends are not standardized. Most FreeBSD implements the OSSv4 API. Maybe not in v4.2, but those are=20=20 extensions=20are not really that much important for this discussion. The=20= =20 important=20part is, that we support OSSv4 since about FreeBSD 8, and=20=20 that=20the main part of playing audio is not changed between 4.0 and=20=20 4.2,=20so it doesn't matter much if we talk about the FreeBSD=20=20 implementation=20of OSSv4 or the 4Front implementation of OSSv4.2. The issues which come at hand are so far either at layer 5 or 4. For=20=20 issues=20at layer 3 I have not seen any prove or procedure how to repeat=20= =20 the=20issue so far (and I'm interested to see a procedure so that we can=20= =20 repeat=20the issue(s) people talk about here). Bye, Alexander. --=20 http://www.Leidinger.net=20Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF --=_g0ARV2vhdwQ-vwyuWy6-4GV Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJaN+ioAAoJEKrxQhqFIICEp1IP/2HCKuuX4MMshl1i3+zpVdKG Wn5yZKvQEPhyj2wrBUGtlZdPOLnf9CeVWTg/ZuFbQlzf2hrOOp6o95H3j72shfDF NbyC+NF79YEI4BN3HMGQTyMOG50VCfHlz6dyzgOC1BULVxqJ9oheREbns5i7kt0a edMk1lON5zZ2+jPPTq9Kh2br+VhBCD3RGaJkwQ942j8jeSvRpqfBl/XlPvmMfeXm wF/B/9Ii6Og+TtwNhLq+/vxAM5WUfbh1UD3VW7JTQyOnElf7z93Af6nJu6c/Z08u 3Bbv8Om0Ig5OS57a/lkBYGVVV6WI+OyjyD2XqKCiBHI81A/vrAdtU7Cy6haHMu6g 8gF7frfutoq3H2zI+45nr/UjUcI1enuz8GkNyRDzG2zhtnbpQ6GXCSEQrWWTVPex Z2EZh7RukbFMzsUaSAJMmfkIjofkjdwNDh7lf5sPkGpKushrGs4roF8hYKUiZQVg /5QuxIx4PO5Q1NgJASr+QbFSFbBDC+JSH7RRK8kp/OwZF1hSV+88lV1joF8eIhPU 9jeyM/+dEPBBvH5M4ZVZvQbEvC/J7wXIFtng6wyA/gjUwgfEUCvTnnZeR8EJm3/N PtoxLJhjaJiklHHvF+xEXWxwFS2tAh8AOGsf+R3zrr76PNtOkNhl0uIQa5u8MYoH XkRTwtLC78XC4Tr9stsQ =od8+ -----END PGP SIGNATURE----- --=_g0ARV2vhdwQ-vwyuWy6-4GV--