[alsa-devel] hw_params function and OSS emulation

Timur Tabi timur at freescale.com
Wed Aug 22 23:08:49 CEST 2007

Takashi Iwai wrote:

> The buffer allocation in prepare callback would actually do work.
> I've never mentioned that it doesn't work.  It's just not
> recommended, simply because the prepare is called more often than
> hw_params even without changing the parameters.

What is the driver supposed to do on the second call to .prepare()?  In other 
words, what is the point of calling it multiple times in a row?  Once my 
driver is prepared to start, how could it become more prepared?

Timur Tabi
Linux Kernel Developer @ Freescale

More information about the Alsa-devel mailing list