From owner-freebsd-multimedia@freebsd.org Tue Dec 19 13:56:01 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 D8E05E845CE for ; Tue, 19 Dec 2017 13:56:01 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 97EC9797F2 for ; Tue, 19 Dec 2017 13:56:01 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.128.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 88854261A94; Tue, 19 Dec 2017 14:55:52 +0100 (CET) Subject: Re: FreeBSD amd64 GENERIC kernel To: blubee blubeeme Cc: Alexander Leidinger , freebsd-multimedia@freebsd.org 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: Hans Petter Selasky Message-ID: Date: Tue, 19 Dec 2017 14:53:04 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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 13:56:01 -0000 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