Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 2017 14:53:04 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        blubee blubeeme <gurenchan@gmail.com>
Cc:        Alexander Leidinger <Alexander@leidinger.net>, freebsd-multimedia@freebsd.org
Subject:   Re: FreeBSD amd64 GENERIC kernel
Message-ID:  <c86907a1-ab49-4617-7267-c7912386bc04@selasky.org>
In-Reply-To: <CALM2mE=Fp-mZBQ6BePFSfWjdiuXyQAuJkF4M1wKaUwQxHwu6CA@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c86907a1-ab49-4617-7267-c7912386bc04>