From: Takashi Iwai Subject: Re: Testers wanted: New SB X-Fi driver Date: Thu, 14 May 2009 15:28:11 +0200 Message-ID: References: <4A0C0985.9040004@knobbits.org> <4A0C0CF3.3000902@knobbits.org> <4A0C0FC1.1050709@knobbits.org> <4A0C17AF.8020607@knobbits.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (cantor.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id CCC3C243FF for ; Thu, 14 May 2009 15:28:12 +0200 (CEST) In-Reply-To: <4A0C17AF.8020607@knobbits.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: "Michael (Micksa) Slade" Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Thu, 14 May 2009 23:07:59 +1000, Michael (Micksa) Slade wrote: > > Takashi Iwai wrote: > > At Thu, 14 May 2009 22:34:09 +1000, > Michael (Micksa) Slade wrote: > > Swtiched audacious to 24bit. It very quietly plays a badly distorted version > of the song :) > > What about aplay with 32bit samples? > > Seems to work fine. Also 24bit. Guess it's audacious' fault. Probably. It's possible that audacious tries to access 24bit, not 32bit format, and ctxfi driver has a bug around that. Could you try the patch below? Takashi === diff --git a/sound/pci/ctxfi/ctpcm.c b/sound/pci/ctxfi/ctpcm.c index a64cb0e..aae9eb1 100644 --- a/sound/pci/ctxfi/ctpcm.c +++ b/sound/pci/ctxfi/ctpcm.c @@ -30,7 +30,6 @@ static struct snd_pcm_hardware ct_pcm_playback_hw = { SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_U16_LE | SNDRV_PCM_FMTBIT_S24_3LE | - SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE), .rates = (SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_192000), @@ -81,7 +80,6 @@ static struct snd_pcm_hardware ct_pcm_capture_hw = { SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_U16_LE | SNDRV_PCM_FMTBIT_S24_3LE | - SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE), .rates = (SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_96000),