[alsa-devel] Why is snd_pcm_hw_params_set_format() not setting the format at all?

Jaroslav Kysela perex at perex.cz
Mon Jan 3 18:08:10 CET 2011


On Mon, 3 Jan 2011, Philip Chu wrote:

> When I call snd_pcm_hw_params_set_format() to set up a new format, it seems to call following in order and none of them is setting up the format bit?
>
> snd_pcm_hw_params_set_format() -> snd_pcm_hw_param_set() -> _snd_pcm_hw_param_set() -> snd_mask_refine_set() -> snd_mask_single() + snd_mask_leave()

Please, post or analyze snd_pcm_hw_params_dump() output before and after 
snd_pcm_hw_params_set_format() call.

 						Jaroslav

-----
Jaroslav Kysela <perex at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.



More information about the Alsa-devel mailing list