[alsa-devel] Custom card returns "arecord: main:722: audio open error: Invalid argument"
Clemens Ladisch
clemens at ladisch.de
Sun May 29 13:09:23 CEST 2016
Rob Nertney wrote:
> static struct snd_pcm_hardware my_pcm_hw =
> {
> .info = (SNDRV_PCM_INFO_MMAP |
> SNDRV_PCM_INFO_BLOCK_TRANSFER |
> SNDRV_PCM_INFO_MMAP_VALID),
You must set one of INTERLEAVED, NONINTERLEAVED, or COMPLEX.
(And a single channel should be marked interleaved.)
Regards,
Clemens
More information about the Alsa-devel
mailing list