From owner-freebsd-ports@freebsd.org Mon Dec 25 04:16:43 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 885D6E9955C for ; Mon, 25 Dec 2017 04:16:43 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-it0-x236.google.com (mail-it0-x236.google.com [IPv6:2607:f8b0:4001:c0b::236]) (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 50F9E74F79 for ; Mon, 25 Dec 2017 04:16:43 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-it0-x236.google.com with SMTP id x28so19713903ita.0 for ; Sun, 24 Dec 2017 20:16:43 -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=wfVA+ZHbiV24gyWwtSqRApi5k++Q8OcMdHEhFv7cNh8=; b=NKPRQ3HlXw9ueOyM43LEHfB1R4s0zc6hl5f8TSMLgo6yIviwIhpJWSs9oFsRudl9rl YPFmKGtwQcgi09e8paUk/05Qb1KTXTP+k0Rs1YGB8ybXtzAIUKL8sUshCNF1crjYulUR eyV9IItiQmWLbCi5TTSgzEUW6VwVMEuqA/CNoWm+VVRiXoUCpMSIy38vEfYUqh1fs7x6 fVc+W2fGO8ZzOimwjWqD8c8llr9x4PId/X2ezAZakVAgv4jhpxA5bJ4TptClchI9hY6z dZa7ZB6ztKpznEUt3MuZTmEDyS2+keIogVNVkvHyKzBlwnxZIcPbtnvmQDDZPSTUn3fw gxqg== 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=wfVA+ZHbiV24gyWwtSqRApi5k++Q8OcMdHEhFv7cNh8=; b=OAZ/jVPRX2kjR6a6zBPi4DmNFRmG6bUB5cznDlhGRfHsAoHdf8VWTvLo0rnh+hFGdq LmRZKz5N7BxMGUSdRkeUx8jDgz6Gm6qoukm2dLfF0h7u3SXYIr8SdzL1C5WoiurxqNof gDeLbk4Nr8R3i/eEv35+YVe5K1rzDQplI1MkpelEgtq9h10xeh1OYRn92Yy07VDFZv+p mnC6SppG6IlV02R/8HeLpBDACkYtPDvbx5FmzdJVotx+zaxDdpPqILoCPgNmEirZVDF9 czQxXcGeHQI6gqATbpYFR8it5e29E6RRnGDRsi03ANkH66OD+lmIAADRllWlBSYxEX60 OCZw== X-Gm-Message-State: AKGB3mJKMZWdSMUWoYqxm7zjlQmmVIQrDADDJnstLoxVPrh0/y96XMS1 xcJuo8SAIh+B6abk0k3HmHzLcQXSMZnQl+lzi8vJeP02 X-Google-Smtp-Source: ACJfBovvCbJv8jUHOHSWs2K3KBm4iGO/Io3GmzUv7Jjw7uLKCI6aYGCErhF2yqWRzFWV7Vcuxssji/aen80+4Zwt5n8= X-Received: by 10.36.116.135 with SMTP id o129mr26043942itc.119.1514175401674; Sun, 24 Dec 2017 20:16:41 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.164.203 with HTTP; Sun, 24 Dec 2017 20:16:40 -0800 (PST) In-Reply-To: References: From: blubee blubeeme Date: Mon, 25 Dec 2017 12:16:40 +0800 Message-ID: Subject: Re: OSS Audio To: Sid 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, 25 Dec 2017 04:16:43 -0000 On Fri, Dec 22, 2017 at 9:31 PM, Sid wrote: > OSS soundcard.h for FreeBSD stable and current > https://svn.freebsd.org/base/stable/11/sys/sys/ > https://svn.freebsd.org/base/head/sys/sys/ > > blubee blubeeme; Mon Dec 11 17:03:10 UTC 2017 > > 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. > I've been looking into this for a bit now and these ioctl seems missing or returning strange values. SNDCTL_DSP_COOKEDMODE SNDCTL_MIDIINFO SNDCTL_MIX_ENUMINFO SNDCTL_MIX_EXTINFO SNDCTL_CARDINFO SNDCTL_GETLABEL SNDCTL_SETLABEL SNDCTL_GETSONG SNDCTL_SETNAME SNDCTL_DSP_GET_CHNORDER oss_digital_control and it's related data structures seems to be missing, that needed for digital sources. SNDCTL_DSP_READCTL SNDCTL_DSP_WRITECTL The might be implemented in other places if so, where?