From: "Adrian McMenamin" Subject: Re: Effect of CONFIG_SND_PCM_OSS_PLUGINS Date: Fri, 27 Jul 2007 08:15:13 +0100 Message-ID: <92a12cdb0707270015n712854ceg6fe93bb41fa6153f@mail.gmail.com> References: <92a12cdb0707241530h3703a721md7bceeac2cd3144a@mail.gmail.com> <1185345398.10658.1201916763@webmail.messagingengine.com> <92a12cdb0707261400u624be88av154447e7ea5be081@mail.gmail.com> <1185517283.21908.1202305699@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.179]) by alsa0.perex.cz (Postfix) with ESMTP id 6CA1624486 for ; Fri, 27 Jul 2007 09:15:15 +0200 (CEST) Received: by wa-out-1112.google.com with SMTP id m33so942282wag for ; Fri, 27 Jul 2007 00:15:14 -0700 (PDT) In-Reply-To: <1185517283.21908.1202305699@webmail.messagingengine.com> Content-Disposition: inline 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: Clemens Ladisch Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On 27/07/07, Clemens Ladisch wrote: > Adrian McMenamin wrote: > > On 25/07/07, Clemens Ladisch wrote: > > > Well, your driver does support S16_LE, doesn't it? > > > > I think so > > > > .formats = > > (SNDRV_PCM_FMTBIT_S8 | SNDRV_PCM_FMTBIT_S16_LE | > > SNDRV_PCM_FMTBIT_IMA_ADPCM), > > Looks OK. > > What are the other snd_pcm_hardware settings? > static struct snd_pcm_hardware snd_pcm_aica_playback_hw = { .info = (SNDRV_PCM_INFO_NONINTERLEAVED), .formats = (SNDRV_PCM_FMTBIT_S8 | SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_IMA_ADPCM), .rates = SNDRV_PCM_RATE_8000_48000, .rate_min = 8000, .rate_max = 48000, .channels_min = 1, .channels_max = 2, .buffer_bytes_max = AICA_BUFFER_SIZE, .period_bytes_min = AICA_PERIOD_SIZE, .period_bytes_max = AICA_PERIOD_SIZE, .periods_min = AICA_PERIOD_NUMBER, .periods_max = AICA_PERIOD_NUMBER, }; #define AICA_BUFFER_SIZE 0x8000 #define AICA_PERIOD_SIZE 0x800 #define AICA_PERIOD_NUMBER 16