[Alsa-user] problems with snd-ca0106
Brought to you by:
perex
From: Wojtek K. <woj...@to...> - 2005-02-06 17:29:25
|
hello, i've search the recent posts for a similar case, but unfortunately i haven't found any solution. i bought an Audigy LS card last week, as i found that it's supported by ALSA 1.0.8. at the beginning everything seemed to work fine, but as i tried to use diffrent software, i've encountered some playback problems. 1) playback through OSS emulation is broken for sample rates different than 48kHz. the sound is jerky, there are some audible clicks. playback is faster, but pitch isn't changed, so it looks like some buffer is shorter than it should be. i've checked: wavplay, mplayer and sox with sample rates: 48kHz (works fine), 32kHz, 24kHz, 8kHz, 44100Hz, 22010Hz, 11025Hz. 2) playback through ALSA is broken in some applications, but it's fine with aplay. i fully understand that this could be caused by improper use for libasound by those applications, but somehow other soundcards i owned (intel8x0, ens1371) never caused any troubles. 2a) XMMS and beep-media-player behave in a similar way as with OSS output -- the sound is jerky. this can be avoided by changing advanced properties of the output plugin: period length from 500ms to some smaller value, 20ms for example. unfortunately it causes the sound to skip under heavier load. 2b) Mozilla Thunderbird plays the new mail notification sound just like the others, but unfortunately it not possible to tweak any settings. 2c) mplayer however manages to play some sample rates properly with alsa output plugin. 44100Hz and 48kHz work fine. 22050 and 24kHz seem fine too, but there are quiet clicks in the backgrounds. 32kHz, 11025Hz, 8kHz are jerky and are impossible to listen. first i've copied alsa-kernel/ tree to 2.6.10 kernel sources to get snd-ca0106 module, but i also checked vanilla 2.4.28 with ALSA compiled separately. so is there any possibility to overcome these problems without patching every applications that uses libasound in a different way that aplay does? and is it possible to fix OSS emulation? if some tests need to be done, i'm willing to check any driver patches and/or use CVS version of both alsa-drivers and alsa-lib. thanks in advance for any suggestions. btw, `lspci -v' output is: 02:04.0 Multimedia audio controller: Creative Labs: Unknown device 0007 Subsystem: Creative Labs: Unknown device 1002 Flags: bus master, medium devsel, latency 32, IRQ 18 I/O ports at 9800 [size=32] Capabilities: [dc] Power Management version 2 02:04.1 Input device controller: Creative Labs: Unknown device 7005 Subsystem: Creative Labs: Unknown device 1002 Flags: bus master, medium devsel, latency 32 I/O ports at 9c00 [size=8] Capabilities: [dc] Power Management version 2 regards, wojtek |