On 27/07/07, Clemens Ladisch <cladisch@xxxxxxxxxxxx> wrote: > Adrian McMenamin wrote: > > On 25/07/07, Clemens Ladisch <cladisch@xxxxxxxxxxxx> 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 _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel