On , ÐÂÔÂÈç¹³ <46620410@qq.com> wrote:
>      I want to learn some Linux audio  related technologies, and going to start from ALSA.

It is easier to start with JACK.

If you understand the code in this file, then you understand the basics behind writing a JACK audio program.
https://github.com/jackaudio/example-clients/blob/master/simple_client.c

It is much harder to learn to code for ALSA, as there are many steps involved before you can play sound.
Make life easy for yourself and let JACK do that hard work: stand on the shoulders of giants. -Harry