Subject: Re: MIDI programming with OSS compatability API
To: Chris Wareham <chris.wareham@iosystems.co.uk>
From: None <collver1@attbi.com>
List: netbsd-help
Date: 09/05/2002 07:37:10
> My second question is on the MIDI API itself. Can I use
> the OSS compatability functions and the documentation
> on the OSS website, or are the API's likely to have
> subtle differences? Otherwise, is there any documentation
> (apart from the header files themselves) on the NetBSD
> native MIDI API?
>
> Any pointers would be greatly appreciated, as I consider
> myself a good application level programmer, but would
> be a little bit daunted by having to code up a device
> driver for the MIDI interface.
NetBSD's native MIDI API is binary compatible with the OSS MIDI API.
However, NetBSD's header files do not define all the structures and macros
that OSS does. Generally, you can cut and paste the missing macros from
the OSS header files.
Ben