[alsa-devel] snd_pcm_hw_params_free() immediately after snd_pcm_hw_params() ???

Raymond Yau superquad.vortex2 at gmail.com
Thu Jan 21 10:12:27 CET 2010


2010/1/21 Takashi Iwai <tiwai at suse.de>

>
>
> Confusingly, snd_pcm_hw_params_free() and snd_pcm_hw_free() are
> different.
>
> The former is just to free the malloced snd_pcm_hw_params struct
> while the latter corresponds to snd_xxx_hw_free().
>
>
> Takashi
>

Is there any flags in substream which can indicate snd_xxx_hw_params() was
called at first time since snd_xxx_hw_params() were called many times
during OSS emulation (probing the supported rates , channels , .... ) ?


More information about the Alsa-devel mailing list