home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!yale.edu!ira.uka.de!gmd.de!Germany.EU.net!mcsun!sunic!dkuug!diku!kurt
- From: kurt@diku.dk (Kurt M. Alonso)
- Newsgroups: comp.os.linux
- Subject: Expert advice needed
- Message-ID: <1992Nov5.163153.20104@odin.diku.dk>
- Date: 5 Nov 92 16:31:53 GMT
- Sender: kurt@rimfaxe.diku.dk
- Organization: Department of Computer Science, U of Copenhagen
- Lines: 17
-
-
- I am trying to write a device driver for a parallel port
- soundcard (if the term applies to this type of device :-)).
- Being this the first time that I give such a task a try, any
- advice would be welcome.
-
- Basically, what the thing has to do is to output bytes to the
- parallel port at a fixed rate, starting from 8000 samples per
- second and up. There is no protocol to observe or anything else so,
- at least conceptually, the driver should be very easy to write.
- However, the high output rates (less than 1 byte every 125 usecs)
- implies that I can not use the kernel timer stuff. So the question
- remains, how can I control the output rate (without eating up too
- much CPU time)?
-
-
- Kurt.
-