Hi Rob, My board uses the Cirrus CS4340 DAC. I guess what I'd like to know is would I need to come up with a driver which will take the data from a system file (such as /dev/dsp) and feed it to the DAC or is there some sort of generic implementation out there which I can tweak? Is OSS such a generic implementation?
Thanks, Umar
On Monday, July 1, 2002, at 03:46 PM, Umar Qureshey wrote:
Getting application PCM samples to your DAC is the business of the operating system's audio driver; the details depend on which driver you plan to use. If you use OSS, the interface is usually through /dev/dsp or /dev/sound/dsp. Actually the name is unimportant; what matters are the device major/minor numbers. Under Linux, /dev/dsp should be a character device with major number 14 and minor number 3; it can be created with `mknod' if it doesn't already exist. The device numbers link the node to the audio driver in the kernel, which then passes your PCM samples to your sound hardware.
I'm not familiar with the EP7212 in particular, so I'm not sure I can answer this question. However, if the board is running Linux, I imagine most of the details are handled for you by the OS.
-- Rob Leslie rob@mars.org