tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pcmaudio(4), for fun and games.



Hi,

Announcing the pcmaudio(4) driver, for all geeks with lots of PWM,
lots of time, lots of boredome and nothing else to do.

ftp://ftp.netbsd.org/pub/NetBSD/misc/cherry/pcmaudio

Its basically been an exercise in writing a device driver for NetBSD,
and has only been tested with mplayer and xine.

BUGS
plaympeg (libSDL) doesn't seem to work for some reason.
PWM translation seems to have some sort of bug, when the volume drops,
sound gets scratchy. I'm sure I'm missing something obvious in clock.c

I've tried to organise the code to be as little intrusive as possible,
however, it does touch x86/isa/clock.c, pcppi(4) and attimer(4), so
here's what I'm asking anyone with the inclination to try:

Could you run it on a slower machine (i386/486 etc) and see if it
works at all ? Also, if you disabled it, does it affect anything else
?

I don't expect to commit this anytime soon, unless someone absolutely
needs this in the tree :-)

Comments on the code, would of course be welcome, be gentle though :-)

Thanks to http://www.zyxware.com/ for lots of tea, biscuits and
guniea-pig ears.

Have Fun,

L8R,
-- 
Cherry


Home | Main Index | Thread Index | Old Index