vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Making, drinking tea and reading an opus magnum from Marco S Hyman: > I wrote: > > > plays what should be a 12 second 2-tone test in wav format in about > > 2.75-2.85 seconds. On my i386 > > OK, there is a issue with the auich driver at least with regards to the > AMD 8111 AC97. The issue is that the codec is playing at 48000 Hz > even though the samples I was trying to play were at 11025 Hz. Seems > the codec rate is locked at 48000. > > 12 seconds @ 11025 Hz ~ 2.75 seconds @ 48000 Hz > > Looking at the netbsd version of the driver I see where it programs > AC97_REG_PCM_FRONT_DAC_RATE, AC97_REG_PCM_SURR_DAC_RATE, and > AC97_REG_PCM_LFE_DAC_RATE. Our driver leaves such programming > up to ac97.c which only programs AC97_REG_FRONT_DAC_RATE. > > Could that be part of the problem? Or is this one of the combos > that is locked at 48000 and needs rate conversion is software? the problem is that some codecs only implement 48khz (rtfm) mpg123 for example forgets to read back the actuall rate being set and assumes it's the same as was requested. usually forcing it w/ -r48000 fixes it. cu -- paranoic mickey (my employers have changed but, the name has remained) |
| Thread Tools | |
| Display Modes | |
|
|