I have a rate problem in most sound applications if the rate of the file isn't 48000hz.  It's not really noticeable with 44100 but extremely noticeable with low rates (8khz).  Sounds will exhibit skipping and slight speed ups.  For example I have a record file of someone just reading numbers sequentially.  When playing I hear 1,2,3,7,8,10,14 etc.  If I upsample the file to 48000hz the file plays fine.

My distro is ubuntu which is currently on breezy.  When I was on the last version of ubuntu (hoary) all sound was fine, this only happened when upgrading to breezy.  Since then I've tried compiling 1.0.8, 1.0.9, and now I'm on 1.0.10. but all exhibit this problem. 

Something I hope that will make this easier to troubleshoot is I have my old debian sid on this same box and sound still works fine there.

On my sid box:
0-0/0: Analog Devices AD1887

Capabilities     : -headphone out-
DAC resolution   : 16-bit
ADC resolution   : 16-bit
3D enhancement   : No 3D Stereo Enhancement

Current setup
Mic gain         : +0dB [+0dB]
POP path         : pre 3D
Sim. stereo      : off
3D enhancement   : off
Loudness         : off
Mono output      : MIX
Mic select       : Mic1
ADC/DAC loopback : off
Extended ID      : codec=0 rev=0 DSA=0 VRA
Extended status  : VRA
PCM front DAC    : 48000Hz
PCM ADC          : 48000Hz



AD18XX configuration
Unchained        : 0x1000,0x0000,0x0000
Chained          : 0x0000,0x0000,0x0000


On my ubuntu box:

0-0/0: Analog Devices AD1887

PCI Subsys Vendor: 0x1014
PCI Subsys Device: 0x0234

Capabilities     : -headphone out-
DAC resolution   : 16-bit
ADC resolution   : 16-bit
3D enhancement   : No 3D Stereo Enhancement

Current setup
Mic gain         : +0dB [+0dB]
POP path         : pre 3D
Sim. stereo      : off
3D enhancement   : off
Loudness         : off
Mono output      : MIX
Mic select       : Mic1
ADC/DAC loopback : off
Extended ID      : codec=0 rev=0 DSA=0 VRA
Extended status  : VRA
PCM front DAC    : 41134Hz
PCM ADC          : 48000Hz



AD18XX configuration
Unchained        : 0x1000,0x0000,0x0000
Chained          : 0x0000,0x0000,0x0000

***********************************************************

Note the DAC difference of 41134Hz vs 48000.

I tried setting
options snd-intel-8x0 ac97_clock=48000 but it didn't help.  I didn't really expect it to as I do not need this in my debian sid box.


Also here is the output from mplayer showing this problem with a 8khz file:

Trying to force audio codec driver family libmad...
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 8000 Hz, 1 ch, s16le, 16.0 kbit/12.50% (ratio: 2000->16000)
Selected audio codec: [mad] afm:libmad (libMAD MPEG layer 1-2-3)
==========================================================================
Building audio filter chain for 8000Hz/1ch/s16le -> 0Hz/0ch/??...
alsa-init: 1 soundcard found, using: default
alsa: 8000 Hz/1 channels/2 bpf/2730 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 8000Hz 1ch s16le (2 bps)
Building audio filter chain for 8000Hz/1ch/s16le -> 8000Hz/1ch/s16le...
Video: no video
Starting playback...
alsa-space: xrun of at least 0.009 msecs. resetting stream                     
alsa-space: xrun of at least 0.008 msecs. resetting stream                     
alsa-space: xrun of at least 0.009 msecs. resetting stream        

if I add srate=48000 to mplayer's config the problem goes away.

Also tried in beep-media-player, xmms with alsa hw, default and oss but all show same problem


Reply via email to