darth@athena.mit.edu (Darren T Garnier) (12/02/90)
I've just finished reading all 100 pages or so of the new sound manager chapter, but I still have a few questions about it. I'm interested in writing my own sound input driver (for my CEDAR Sound board). I think, however, that there is not quite enough information in the chapter to allow me to do this. Maybe someone who knows can answer a few questions I have... 1) Can I assume that the sound input driver is just like any other device driver with Prime, Open, Status, Read, Write, ... etc. 2) If so, I can see how data whould be passed back via the SoundParamBlock disguised as an ordinary Paramblock, but this is just a guess. 3) This is my biggest question, How do the SPBGet and SPBSetDeviceInfo calls interface to this device driver? It seems to me that some documentation on how the sound manager communicates with its device drivers would be useful to clear up these questions. Is this covered in a different chapter of IM 6? Any suggestions on how to go about writing a sound input device driver would be most appreciated. (I want my microphone to show up under the sound cdev too. I even drew a little icon for it already :-} ). Thanks again. Darren. -- Darren Garnier darth@athena.mit.edu | Some rise, some fall, garnier@alcvax.pfc.mit.edu | some try to get to Terrapin.