C Board  

Go Back   C Board > Platform Specific Boards > Linux Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 11-08-2003, 08:56 PM   #1
Registered User
 
Join Date: Nov 2003
Posts: 1
Sound Driver Programming Question

Ive always had issues getting my ac97 on board sound chip working well with linux and Unix and figured I would take a look at the drivers myself. My question is I have 4 files ac07.h, ac97.c, ac97_codec.c, and ac97_plugin_ad1980.c and really don't know how they layer on top of each other. Looking at the actual driver ac97.c and ac97.h there are a few data structures and functions but no code witch calls these functions. In addition it doesn't look like any of these functions really provide a stream of bits to the sound card to decode but I possibly am just missing something. So when an application wants to access your sound card it writes to /dev/dsp from there how do these files work together to eventually give the sound card something to output?

I am aware of ALSA and other alternatives as far as actually getting the chip working I just want to learn something about this so succeeding at getting it to work isn't the primary goal.

any help would be appreciated
phos2k is offline   Reply With Quote
Old 11-10-2003, 11:07 PM   #2
Registered User
 
Codeplug's Avatar
 
Join Date: Mar 2003
Posts: 3,903
Linux Device Drivers

If you really want to learn.

gg
Codeplug is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help:how can I insert the driver files into a program using C++? chenayang C++ Programming 0 07-28-2008 03:10 AM
I need help to compile this code... wise_ron C Programming 17 05-07-2006 12:22 PM
ALSA sound problem in Linux MathFan Tech Board 0 04-24-2003 10:05 AM
Question on sound in a game of mine. Vanished C++ Programming 4 12-09-2002 05:46 PM
Very simple question, problem in my Code. Vber C Programming 7 11-16-2002 03:57 PM


All times are GMT -6. The time now is 09:15 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22