From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugtrack@alsa-project.org Subject: [ALSA - driver 0001302]: Clicking noise when using kphone with the ALSA AD1816A sound driver Date: Mon, 7 Nov 2005 13:17:35 +0100 Message-ID: <3402d90eec0b26520190b756cfaca710@bugtrack.alsa-project.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from bugtrack.alsa-project.org (gate.perex.cz [85.132.177.35]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id 54489150 for ; Mon, 7 Nov 2005 13:17:35 +0100 (MET) Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org A NOTE has been added to this issue. ====================================================================== ====================================================================== Reported By: tek01 Assigned To: ====================================================================== Project: ALSA - driver Issue ID: 1302 Category: ISA - ad1816a Reproducibility: always Severity: tweak Priority: normal Status: new Distribution: Debian Sarge Kernel Version: vanilla 2.6.11.12, vanilla 2.6.10, Debians 2.6.8-2 ====================================================================== Date Submitted: 08-02-2005 17:29 CEST Last Modified: 11-07-2005 13:17 CET ====================================================================== Summary: Clicking noise when using kphone with the ALSA AD1816A sound driver Description: Using kphone (VoIP softphone) with the ALSA native API and the AD1816A sound driver a continuous clicking noise is heard approximately 3 times per second. Using the OSS AD1816 with kphone(OSS API) sound driver on the same system and kernel audio is crystal clear. Also audio latency is much higher (0.3-0.5s guessed) compared to the OSS AD1816 (<0.1s, also guessed) sound driver. ====================================================================== Relationships ID Summary ---------------------------------------------------------------------- related to 0001300 modprobe goes into D-state when inserti... ====================================================================== ---------------------------------------------------------------------- rlrevell - 10-31-05 17:48 ---------------------------------------------------------------------- This sounds like a bug in kphone's ALSA support and not in the ALSA driver. It's probably using a different buffer size for ALSA vs. OSS. Anyway please test this with the latest ALSA release. ---------------------------------------------------------------------- tek01 - 11-07-05 13:17 ---------------------------------------------------------------------- I did some tests last weekend using Linux 2.6.14 and the in kernel ALSA, ALSA 1.0.10rc2 and CVS from last Friday. The ALSA version does not matter, however enabling preemption seems to make the problem worse, whereas putting some load on the CPU (f.e. compiling a kernel) with preemption disabled seems to almost cure the problem. I removed the sound card from my main test box, an AMD K7@800MHz and plugged it into an old Pentium 133 box running a Debian 2.6.8 kernel. The card is working fine in this box, however audio latency is still somewhat higher than with the OSS driver, but within acceptable limits. Issue History Date Modified Username Field Change ====================================================================== 08-02-05 17:29 tek01 New Issue 08-02-05 17:29 tek01 Distribution => Debian Sarge 08-02-05 17:29 tek01 Kernel Version => vanilla 2.6.11.12, vanilla 2.6.10, Debians 2.6.8-2 08-02-05 18:27 Adrian Bunk Issue Monitored: Adrian Bunk 08-03-05 10:11 perex Relationship added related to 0001300 08-03-05 10:20 perex Note Added: 0005613 08-03-05 12:09 tiwai Note Added: 0005618 08-03-05 12:10 tiwai Note Added: 0005619 10-31-05 17:48 rlrevell Note Added: 0006588 11-07-05 13:17 tek01 Note Added: 0006614 ====================================================================== ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php