LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-08-2003, 08:44 PM   #1
phos2k
LQ Newbie
 
Registered: Nov 2003
Posts: 1

Rep: Reputation: 0
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

Last edited by phos2k; 11-08-2003 at 08:48 PM.
 
Old 11-09-2003, 01:49 AM   #2
stuNNed
Member
 
Registered: Aug 2003
Distribution: Gentoo/Ubuntu
Posts: 134

Rep: Reputation: 15
the opensource.creative.com mailing lists used to be a great source for learning these kinds of things, you can check out the alsa code for your card, it's usually well commented.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound driver detected, but no sound browncow Linux - Hardware 2 01-28-2006 09:34 AM
ATI driver/Sound Blaster Audigy 2 ZS driver help reldogz Linux - Newbie 0 09-05-2005 09:08 PM
Sound server informational message: Error while initializing the sound driver... LA004 Linux - Hardware 4 08-21-2005 08:25 PM
sound card help ESS1978 Sound Card - maestro driver fatrandy13 Linux - Hardware 1 05-03-2005 01:43 AM
JMF detect sound driver and capture sound shan0004 Programming 0 01-10-2005 10:58 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration