22 Mar
2016
22 Mar
'16
3:41 p.m.
On Tue, 22 Mar 2016 15:31:03 +0100, Lu, Han wrote:
- Add tinyalsa support, configure will read environment and decide to
link to ALSA lib or tinyalsa lib.
It's not good to choose tinyalsa forcibly whenever it's found. Then there is no way to build alsabat with alsa-lib on a system that have both libraries installed.
Better to add configure option to choose the backend, not only detecting it.
OK. I added configure option "--enable-tinyalsa", and by default tinyalsa is disabled. I submitted patch v2 and please help to review.
IMO, something like --with-backend=$TYPE is better. It's not intuitive that --enable-xxx is mutual exclusive with another option.
thanks,
Takashi