From owner-freebsd-ports@freebsd.org Mon Dec 11 17:03:10 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 1428DE97D9E for ; Mon, 11 Dec 2017 17:03:10 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-it0-x22b.google.com (mail-it0-x22b.google.com [IPv6:2607:f8b0:4001:c0b::22b]) (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 CAFA26ED6A; Mon, 11 Dec 2017 17:03:09 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-it0-x22b.google.com with SMTP id t1so17470112ite.5; Mon, 11 Dec 2017 09:03:09 -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=4tc8mPzoCoUrWQoQjk8TTUK8bZ+4Qf4vAPs4y0erxhA=; b=UEYYgVch5TiKLFjy6QeeoWJ61HzsFkPCKUwulKBboDcBp2mcY5QbfMURUTkjjzhpI2 47XQvLOmc8i87rE8Ss0EqkJtPQDhYHItjdMzIF9lvaboA9dTy74o/uj1qvKaJpoNHICg MMSQes4u6azmms4yuqCgtHOmVEGVtRPSAcvw5eCeOYdrwjjWm7a+hlEIPJLiOR02hc0q qc5u5NXbPwCBPlPWDOP2h0zut7hg9V5mlH3LNcRZnz5LDONesSUG0kxrtdzX03c6slJQ gKYbZ0gXAqWUYB6OG53ovMUEhHKhAs59moZLqUNPqo67o8lpuYJGWGDWCLa6TBGsLJDv E37A== 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=4tc8mPzoCoUrWQoQjk8TTUK8bZ+4Qf4vAPs4y0erxhA=; b=m3cWdhObW612q+mPsKjYkQ/ZCD7CiYD/ihmjE9rC3plxdRCTvKhNq9aybArLDTiQa7 7TV5cDGTqHu7aOTFIu4Q9C/njdrMJMD/3o0IuQddZmC489ABwxGOlHc4Bc1GxZeM45aL TfNszS6e7XmLM27DZriSwBL5rrWOyDcOmoT3ggnlRGnSbSAwBTjenBQ/GLTBar99OncA 8U0rVcyPWxgPg7yJ2HaLeFWvaCNHyDVyD5QLYiX6cZh8ciEur/z225XhdfxrsIyQg0bC wnoEfBQS9gj5j0/PweG9gtLT6wBNbtZ/fccx6DaMih2+z9sBWDy1J4BK9L4vgSCAm8l8 elzg== X-Gm-Message-State: AKGB3mI3w7WdnWOE7SVVJGUjhPvIVfXAhEwAevAcW9oKYD0HSkyE/7Q4 CBnGklvXcXIgTB/QsHj0Ik/ITHK5FHwCZTPfqkYHag== X-Google-Smtp-Source: ACJfBov468YO91EuTM4BmQlDJ2dfC9VkkxHK4UZxulLuAbL23ZwFwezjNF0syYU3aGJbHfLpLsbIsflEBoT0hm9+0rE= X-Received: by 10.107.52.140 with SMTP id b134mr1468499ioa.291.1513011788524; Mon, 11 Dec 2017 09:03:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.11.31 with HTTP; Mon, 11 Dec 2017 09:03:07 -0800 (PST) In-Reply-To: References: From: blubee blubeeme Date: Tue, 12 Dec 2017 01:03:07 +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: Mon, 11 Dec 2017 17:03:10 -0000 I'm taking a look at soundcard.h in /usr/include/sys/soundcard.h in FreeBSD vs the soundcard.h in the offical OSS 4.01 https://sourceforge.net/p/opensound/git/ci/master/tree/include/soundcard.h It seems like there's been a lot of changes between FreeBSD 3.8ish version and the 4.0 version. I was grepping around to see if any other files included this soundcard.h header and if updating to the latest would break any other programs. Is there anyone here who actively work on OSS have a moment for a few questions? On Tue, Dec 5, 2017 at 8:48 AM, blubee blubeeme wrote: > 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 >> > >