[alsa-devel] Setting format to SND_PCM_FORMAT_MU_LAW does not let me apply hardware parameters

Clemens Ladisch clemens at ladisch.de
Tue Jul 1 09:39:27 CEST 2008


Mitul Sen (misen) wrote:
> // Set access to RW interleaved.
> if ((err = snd_pcm_hw_params_set_access (_soundDevice, hw_params,
> SND_PCM_ACCESS_RW_NONINTERLEAVED)) < 0)

The comment and the code do not agree.  Please try
SND_PCM_ACCESS_RW_INTERLEAVED.


Regards,
Clemens


More information about the Alsa-devel mailing list