Subject: Re: strange cs4280 sampling rate (Re: Strange ESS1869 playback rate problem)
To: Tatoku Ogaito <tacha@trap.fukui-med.ac.jp>
From: Piter G Oseneff <oseneff@sitek.net>
List: current-users
Date: 07/24/2000 02:26:31
Hi everyone!
I have the same configuration as David here: CS4280 in a couple with a CS4297A
AC 97 2.1 codec.
I can state that I have no problem with the sample rate:
when playing mp3s I can set any sample rate, for example - 11KHz or standart
44100 - everything is OK.
But I have a one strange thing when playing mp3s:
During playing, when one track changes another, sometimes,
the new track starts playing with a huge distortion and so on
this goes through several tracks then disappears.
Is it b'cuz of using new codec ?
What do you think.
Tatoku Ogaito (tacha@trap.fukui-med.ac.jp) wrote:
> >> On Fri, 21 Jul 2000 12:35:52 +0100 (BST)
> David Brownlee <abs@netbsd.org> wrote:
>
> > On Fri, 21 Jul 2000, Tatoku Ogaito wrote:
> >
> > > Strange... my Thinkpad is NetBSD 1.5_ALPHA(around 000710)
> > >
> > > clcs0 at pci0 dev 5 function 0: Cirrus Logic CS4280 CrystalClear Audio Interface (rev. 0x01)
> > > clcs0: interrupting at irq 11
> > > clcs0: Crystal CS4297 codec; headphone, 18 bit DAC, 18 bit ADC, no 3D stereo
> > > audio0 at clcs0: full duplex, independent
> > > midi0 at clcs0: CS4280 MIDI UART
> > >
> > > and I can play mp3 files with mpg123 up to 44100Hz sample rate
> > > without any problems.
> >
> > Mine is slightly different:
> >
> > clcs0 at pci0 dev 6 function 0: Cirrus Logic CS4280 CrystalClear Audio Interface (rev. 0x01)
> > clcs0: interrupting at irq 11
> > clcs0: Crystal CS4297A codec; headphone, 20 bit DAC, 18 bit ADC, Spatializer 3D
> > audio0 at clcs0: full duplex, independent
>
> Well, the data sheet of CS4297A says it is an AC97 2.1 compatible codec
> while cs4280.c use it as AC97 1.03 codec. Is there any difference
> if you comment out the line
>
> 1628: /* XXX should not be here */
> 1629: #define SERACC_CODEC_TYPE_1_03
>
> in cs4280.c ?
>
> Anyway, I will look the data sheets in this weekend.
>
> > Hmm - I've just noticed I didnt enable midi - my ocnfig file does
> > not appear to mention midi at clcs?
>
> The changes to cs4280.c was just committed to main trunk and
> pulled up 1.5-release branch. You should add
> midi* at clcs?
> to your kernel configuration file.
>
> Tacha
>
Thanks
--
piter