From owner-freebsd-ports@freebsd.org Tue Dec 5 00:48:05 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 54B8CE708FE for ; Tue, 5 Dec 2017 00:48:05 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-it0-x22a.google.com (mail-it0-x22a.google.com [IPv6:2607:f8b0:4001:c0b::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 180011171; Tue, 5 Dec 2017 00:48:05 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-it0-x22a.google.com with SMTP id f143so11284156itb.0; Mon, 04 Dec 2017 16:48:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=FwcOfOYVh73Fz/w0732TiHyrG2wqsxAEFHpKt29BZec=; b=nzZ8UIgwofeRkctPaz/hBAborcDR9YeEx5ZHVUoS3KWJ0ljO1FyuDS0TdiPlWcvcgk NO8vUNguGZXFtH9cJehwZBubQuVD6pjLn4w8G/QLQ7fO0ISPgDVAIzEEYoKWt7PE5WLm SgRaicjHUnMhe+e45WGm7fwgLlxVS9CGegfPscqyCxmzUvokyabt6fl/1jrn7ASJQE2k QFAvn67L9XFymO7m8w6s4CX3MSaI8pT78k7L387hJ4SWQ2hNNMtwUEqlxmCQgHvsVUGf /vFehXcn4duW2kCQc928e98WnRbbeFoosVfOoG26fq4Gfo2RiXZ1KSSeRCn3COLUOGNB s93A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=FwcOfOYVh73Fz/w0732TiHyrG2wqsxAEFHpKt29BZec=; b=gpRkxd/eqBzu8/pklzHycSZwWhZewbzhM4fG7j44k/EO14HSucCYjE08vIRWaL7X9f jJydXR9Yn9Ce37zqu1gFQg2SiQFx6Iv8ubPjSsdIuALO0k+hwn+vYMnkX0i0wwvNaMZK SRyLfedNVoX1PfvmO3jEEq7EZJyeiliy95r6cIF7CulqyOi480R/xoIleqt+xyI8mgRz dtYjzJpE0ZxU0CQRjfjO4/jrLYfyc2LDcm/Ajo6ellR5SAMchtvbbv0otY1dEln+8PaZ vHXuz4sewRRGHeTgZ/k6D+w/L2ImPZfVl8UmPsNWLZSEaNwWKDhe9i3e+jU+0U3wv5Om 29VA== X-Gm-Message-State: AKGB3mLjTVqb9WAejP3PvZm1K+LRTBancHog/212gnnryGTCkkZExGH/ l8qGyYfjA6QqIChs8Hw1F/r0hYHvEJ0mVZKCDTl5yg== X-Google-Smtp-Source: AGs4zMbP1snBxCiFAoqdelVTvXbZaGUqCv3984I8RN7GsVFqhF3g97lEJ/MfyjnX0V55KPlkTiWf7jE7/vIpYGfqqYQ= X-Received: by 10.36.67.141 with SMTP id s135mr6822929itb.149.1512434884056; Mon, 04 Dec 2017 16:48:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.11.31 with HTTP; Mon, 4 Dec 2017 16:48:03 -0800 (PST) In-Reply-To: References: From: blubee blubeeme Date: Tue, 5 Dec 2017 08:48:03 +0800 Message-ID: Subject: Re: OSS Audio To: Jan Beich Cc: FreeBSD Ports Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 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: Tue, 05 Dec 2017 00:48:05 -0000 For me the why is simple. I want the best possible audio for my system. I work with synthesizers and audio programs a lot and on Linux for pro audio everyone recommended using Jack sound server, which was always a pain to maintain, keep connections between sessions, etc... After learning more about audio, I realized that Jack only complicated things and OSS can do what jack without needing the additional complexity of Jack server. If I can provide OSS audio/midi input and output for the tools that I use, then I can do all the routing natively with OSS. this: https://static.lwn.net/images/2013/audio-session/3-non-session-manager.png is what some audio setup looks like, then you have jack in the background like this: http://libremusicproduction.com/sites/default/files/articles/Qjackctl.png It almost never works if you try to save a session and restore it, something always breaks and that just ruins any motivation I had to continue a music project. This: http://manuals.opensound.com/developer/ossapi.html gives basically the same overview you provided above. Another reason why is because I prefer simplicity over complexity, sure FreeBSD sound is feature compatible with 4Front OSS but at the same time everyone is always saying how FreeBSD is short on developers but want to fork of an actively developed and maintained project? https://sourceforge.net/p/opensound/git/ci/master/tree/ Why not let them keep on working on the project and pull that in so that we can always stay on top of what they are doing? Does FreeBSD have enough manpower to fork and maintain the project? I know one thing, I ran osstest on my system and I was shocked how great my sound system is, for the past year the audio has always been tinny and weird but now I am moving to make OSS my default audio driver and work in support for all the apps/ tools that I use. So that's why i'd like to have the official 4Front OSS drivers instead of a fork. On Tue, Dec 5, 2017 at 12:26 AM, Jan Beich wrote: > blubee blubeeme writes: > > > On Mon, Dec 4, 2017 at 8:08 PM, Jan Beich wrote: > > > >> blubee blubeeme writes: > >> > >> > I'm looking at the information for audio/oss and it seems that the > source > >> > used is different than the 4frontversion. > >> > > >> > ----- > >> > > >> > This port uses installation procedure that is very different from > >> > the one used by 4Front and is not supported by them. > >> > > >> > ----- > >> > > >> > The port also seems to lack a maintainer but a lot of work is being > >> > committed by jbeich@FreeBSD.org, mat@FreeBSD.org and a few others. > >> > >> Well, you've answered your own question. There's no maintainer to check > >> which downstream differences still make sense. > >> > >> What is better maintained[1] and supported is FreeBSD fork of OSS - > >> sound(4). > >> See OSSv4 compatibility in https://people.freebsd.org/~ > >> ariff/SOUND_4.TXT.html > >> Not sure why those bits haven't migrated into the manpage. > >> > >> [1] 4Front vs. FreeBSD commit activity: > >> https://sourceforge.net/p/opensound/git/ci/master/log/ > >> https://svnweb.freebsd.org/base/head/sys/dev/sound/?view=log > >> > > Thanks for the heads up, I am still learning my way around so I might ask > > questions that don't seem to make sense sometimes. > > > > Since there is no maintainer and the FreeBSD OSS is a fork [I'd assume] > of > > an earlier version, wouldn't it be wise to port over the new OSS 4.xx > since > > this page: http://manuals.opensound.com/developer/ossapi.html > > lists a lot of benefits for the new 4.xx version. > > Why? Not much of 4Front code is left[1] in FreeBSD implementation and > OSSv4 API is already supported. > > Please, be more specific what exactly you're missing. > > [1] See https://wiki.freebsd.org/Sound and copyrights under sys/dev/sound >