Subject: Re: Audio file in /dev
To: None <Swamy@soc-soft.com>
From: Ben Harris <bjh21@netbsd.org>
List: tech-kern
Date: 02/27/2004 11:54:14
In article <E519BE9E8DAC6A4B89DA4AD1D2A155B7759EAD@soc-mail.soc-soft.com> you write:
>I need to support the Audio Driver. I wanted to know whether the audio.c
>present in /sys/dev/ directory can be used to communicate between the
>application and the lower level driver, can I rely upon that?

That's what it's for.  I'm not sure quite what you mean by "can I rely on
that?" but I suspect the answer is "yes".

> Will it
>hook-up to the Lower Level driver.

The lower-level driver should call audio_attach_mi(), which will attach an
audio(4) device.  See audio(9) for details of how all this works.

-- 
Ben Harris                                                   <bjh21@NetBSD.org>
Portmaster, NetBSD/acorn26           <URL:http://www.NetBSD.org/Ports/acorn26/>