Thread: Sound Driver Programming Question

  1. #1
    Registered User
    Join Date
    Nov 2003

    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

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Linux Device Drivers

    If you really want to learn.


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 0
    Last Post: 07-28-2008, 03:10 AM
  2. I need help to compile this code...
    By wise_ron in forum C Programming
    Replies: 17
    Last Post: 05-07-2006, 12:22 PM
  3. ALSA sound problem in Linux
    By MathFan in forum Tech Board
    Replies: 0
    Last Post: 04-24-2003, 10:05 AM
  4. Question on sound in a game of mine.
    By Vanished in forum C++ Programming
    Replies: 4
    Last Post: 12-09-2002, 05:46 PM
  5. Very simple question, problem in my Code.
    By Vber in forum C Programming
    Replies: 7
    Last Post: 11-16-2002, 03:57 PM