Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 2017 22:19:34 +0800
From:      blubee blubeeme <gurenchan@gmail.com>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        Alexander Leidinger <Alexander@leidinger.net>, freebsd-multimedia@freebsd.org
Subject:   Re: FreeBSD amd64 GENERIC kernel
Message-ID:  <CALM2mEmSo3iWfJO4xPjAkcEmuiN-D19E%2Bkuc=tF7ROtGg0qwGA@mail.gmail.com>
In-Reply-To: <c86907a1-ab49-4617-7267-c7912386bc04@selasky.org>
References:  <CALM2mEnnXKAyF_ti_zKYt=1m-ZTfjH5di1cayYjGM4hi9dOxRQ@mail.gmail.com> <20171216011614.Horde.Uitm74qhBEwh_NRo9RgDgu3@webmail.leidinger.net> <CALM2mEm0WWqHx=67tPf9_ah1PAfUEirREpTiRmvEKxZ_YR7u-g@mail.gmail.com> <20171216143349.Horde.VJOddyv79ydlAmvsvoTRhMP@webmail.leidinger.net> <CALM2mEkhFVbDKVbx-1BcP355-mOqfsYUeDOPkVisWT3_6AKh2g@mail.gmail.com> <20171218161614.Horde.rLEhw6yp6nTppNjkXU-WxBF@webmail.leidinger.net> <CALM2mE=eDY0%2B1-O4HWLJ2C-FG_tjRb7goX1D_1WkmPiw_bB%2B=g@mail.gmail.com> <20171218183353.Horde.xayrSeFXKKiQwenaLS-GOsK@webmail.leidinger.net> <CALM2mEkhz4PgSeHq5TNp=5CnxtrFYPzMq_73uF3qUjz5KQ9wrA@mail.gmail.com> <20171219122952.Horde.2UnAC3-TFrteTTD2_YJXPpJ@webmail.leidinger.net> <d7b792a6-0b09-226c-d3cc-9b47cb0bd4d3@selasky.org> <CALM2mE=BTu_ON6TYR0NbOhk8F=w2F7NY6wd14pgqrf67B3BGBQ@mail.gmail.com> <603cca63-2689-432e-dd07-d08bf8e1ee4c@selasky.org> <CALM2mE=Fp-mZBQ6BePFSfWjdiuXyQAuJkF4M1wKaUwQxHwu6CA@mail.gmail.com> <c86907a1-ab49-4617-7267-c7912386bc04@selasky.org>

index | next in thread | previous in thread | raw e-mail

On Tue, Dec 19, 2017 at 9:53 PM, Hans Petter Selasky <hps@selasky.org>
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 <sys/soundcard.h>" 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.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALM2mEmSo3iWfJO4xPjAkcEmuiN-D19E%2Bkuc=tF7ROtGg0qwGA>