Disabling onboard codec
This might not be entirely alsa devel related, but it doesn't fit alsa user either. I figured I'd ask anyway...
In a setup I'm working with, I have a motherboard (815 w/82801BA-ICH2) that has an onboard/primary (00) AC97 codec (AD1885). We've been playing around with adding a CNR card that would have a different/secondary (01) codec on it (CS4299). I had used the gnome-alsamixer to set the volumes, and I see "AD1885/CS4299" in the mixer control. I can play music out either of the outputs if I wanted to, but unfortunately, it's not.
The onboard chip is generating (I think) a BIT_CLK signal, and (I think) the CNR is as well (it's wired to an oscillator). I'm worried that both chips generating a BIT_CLK might cause jitter, and could cause audio quality issues. What I'm looking to do is somehow disable the main (AD1885) codec programmatically if possible, so it isn't generating a BIT_CLK signal, and it more or less disappears.
I appreciate any ideas you may have. I understand that this isn't entirely the focus of the group, but I know that some of you have worked with this stuff for a while and may know how.
TIA,
Ron
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
Quoted 6 lines · Ron Cococcia
In a setup I'm working with, I have a motherboard (815 w/82801BA-ICH2) that has an onboard/primary (00) AC97 codec (AD1885). We've been playing around with adding a CNR card that would have a different/secondary (01) codec on it (CS4299). [...]
The onboard chip is generating (I think) aBIT_CLKsignal, and (I think) the CNR is as well (it's wired to an oscillator).
There is exactly one clock signal on the AC'97 bus, driven either by the primary codec or (more often) by the controller. I guess the oscillator on the CMR card is for a configuration where the CS4299 would be the primary codec.
Quoted 2 lines
I'm worried that both chips generating a
BIT_CLKmight cause jitter, and could cause audio quality issues.
Even worse, two different clocks would drift apart over time, which would make it impossible to send synchronized samples to both codecs. Having two independent clocks in an audio system would require resampling.
The second codec in an AC'97 system should not affect the primary one.
HTH
Clemens
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click