From owner-freebsd-multimedia@freebsd.org Tue Dec 19 14:19:36 2017 Return-Path: Delivered-To: freebsd-multimedia@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 84FE0E85C4C for ; Tue, 19 Dec 2017 14:19:36 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-it0-x235.google.com (mail-it0-x235.google.com [IPv6:2607:f8b0:4001:c0b::235]) (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 54D547A628 for ; Tue, 19 Dec 2017 14:19:36 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-it0-x235.google.com with SMTP id z6so2921661iti.4 for ; Tue, 19 Dec 2017 06:19:36 -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=N4LFEma+s5qMNir6pSgCwVUNToFKLqcjsg04HJ+iH6M=; b=QZFbp+spA6BUiYXyq+y8JMrKvTsAVwn5Guwvudbxopdj/+9ukJ+7Fpl7/FEFOrz6eN ApE2tlo/EJOydhjf8CnHbEzNNOfZsdgUYLYrV11chWWOD01yZC/tfpJ3X/xWttBCxe28 nGZeWuMChBNW2jnBJlnIoPT3hADpBQG/9DDzrAsSpxDSWfawi7F78lWiIThwG6iBy8YG qyc9zgEtxDBJ1YRa7f0Yhdy1HgmDHmDTBbriak9eELBqBb5KKjBBU+RUTZj1HYEVVHsK XTbKGrek7f2xVOgbI0kNLD36yijBoX+0bAWbQzYvqc/MOvx/xJVFSfeSqHoAG4rcguqj IYYg== 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=N4LFEma+s5qMNir6pSgCwVUNToFKLqcjsg04HJ+iH6M=; b=OaVnCRsUZRrXlBmmTQlhMGyVbH/4bNkD2/Mjnzmd5axJS0bJ+2YmvlNZXJ5UnFOKkh tM4wnQMdopW4s5CEiUPL0KxBQJU6AHQEi3tqqIkt4oA1dyiL98ZyKahW7/9a7LXvWnuY 0aeb/rfbZJCziAbpquPZw83iCj4BwESozGS8igkg3bFJ2lNqwMODJgv31pOMJklUPYJ6 x/Q3wC/5tGn5LRbgJHpGkgAyLJr8FQwbSea4iasuNzoBzvZ7KpIMFqkFoPWw1GvWu5fR 609YTlO1FnMW7sMFmY06neCc8eHwuANNrTDhI4XSOnZ2j97lQkTeAeCN9Oxv/77004mX 1VNg== X-Gm-Message-State: AKGB3mLPYG94cgsFJ6MVYbMOXJQfJabE2497WHm6XOrhVzdswQAF4bFc 1hcwi90GMGGiOuaafPyXdNVtGChLBQ0C6sW+F/Y= X-Google-Smtp-Source: ACJfBosTCavvskWF6EfXmD3CaKXC5RmhDjaoQg759+XeDyfHJAHoidQssCYMdIwkBdz95U8v7+I3sgFP3EtnSek0clM= X-Received: by 10.36.167.77 with SMTP id s13mr3394936iti.51.1513693175458; Tue, 19 Dec 2017 06:19:35 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.164.203 with HTTP; Tue, 19 Dec 2017 06:19:34 -0800 (PST) In-Reply-To: References: <20171216011614.Horde.Uitm74qhBEwh_NRo9RgDgu3@webmail.leidinger.net> <20171216143349.Horde.VJOddyv79ydlAmvsvoTRhMP@webmail.leidinger.net> <20171218161614.Horde.rLEhw6yp6nTppNjkXU-WxBF@webmail.leidinger.net> <20171218183353.Horde.xayrSeFXKKiQwenaLS-GOsK@webmail.leidinger.net> <20171219122952.Horde.2UnAC3-TFrteTTD2_YJXPpJ@webmail.leidinger.net> <603cca63-2689-432e-dd07-d08bf8e1ee4c@selasky.org> From: blubee blubeeme Date: Tue, 19 Dec 2017 22:19:34 +0800 Message-ID: Subject: Re: FreeBSD amd64 GENERIC kernel To: Hans Petter Selasky Cc: Alexander Leidinger , freebsd-multimedia@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Dec 2017 14:19:36 -0000 On Tue, Dec 19, 2017 at 9:53 PM, Hans Petter Selasky wrote: > On 12/19/17 13:57, blubee blubeeme wrote: > >> That still leaves my last question unanswered, where does one start >> if they want to program audio applications on FreeBSD? >> > > Hi, > > You should start by looking at existing OSSv4 compatible audio > applications already in FreeBSD ports and in FreeBSD base and compare how > they use the OSSv4 interface(s). > > I have the impression you already know how various IOCTLs and defines are > named in "sys/soundcard.h" and you can simply grep for the occurrence of > these. Even just looking for the string "#include " might > be good enough for a start. For example if you have some gigabytes of disk > space, run "make fetch extract" in all subfolders inside "/usr/ports/audio" > and then grep through the extracted sources. > > --HPS > If my only option was to reverse engineer audio programs to learn then API i'd probably take that route. It's obvious there's issues that need to be sorted out here.