SBlaster in my kernel???

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
KieranFoot

SBlaster in my kernel???

Post by KieranFoot »

I'v started writing sound blaster routines to be added into my operating system and i was wondering what people thaught of this idea???

The reason i was doing this is i want to have a multimedea operating system so i thaught that it would be better to have all of the graphics and sound functions built into the kernel. :-*
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:SBlaster in my kernel???

Post by Pype.Clicker »

keep in mind that SBlaster (at least the well-known SB/SB16/SBpro interface) is almost dead. People now tend to have SBlife or AC97 chips.
Thus the best way is probably to make things modular enough so that one can have only the code for its own soundcard present in memory.

It also depend on what you call "SBlaster". Being able to send/receive audio stream through the card certainly belongs to the system (it could be in the kernel, or in a module or in a system server depending on your architecture) but reading a WAV, MP3 or MID file and commanding the hardware accordingly certainly isn't.
Ozguxxx

Re:SBlaster in my kernel???

Post by Ozguxxx »

Dont even think about it... SBlaster is? no way man...
Tim

Re:SBlaster in my kernel???

Post by Tim »

Put into your kernel a general-purpose driver interface. It's a good idea to put in functions that interface to drivers no matter what kind of device they deal with. That way, you can add new devices (e.g. different types of sound card) without changing the interface, and without having to write special code in applications to deal with it.
Post Reply