[alsa-devel] Beginner to Alsa Development
Hello All,
I am new to alsa interface development. I would like to write one application which accept *.pcm file as input and give playback of it on sound device on linux system. My requirement is to set sample rate 44100, channel 2 and access method is SND_PCM_ACCESS_RW_INTERLEAVED and data length is 16 bit little endian.
Can any oen guide me how can I start writing application in c file and which are those APIs which I need to take care and handling of different error codes. It is very urgent.
Please correct me if I am wrong at anywhere.
-Tejas.
There is a small tutorial here, I don't know if it's outdated though: http://www.suse.de/~mana/alsa090_howto.html
2010-08-12 12:08, Tejas skrev:
Hello All,
I am new to alsa interface development. I would like to write
one application which accept *.pcm file as input and give playback of it on sound device on linux system. My requirement is to set sample rate 44100, channel 2 and access method is SND_PCM_ACCESS_RW_INTERLEAVED and data length is 16 bit little endian.
Can any oen guide me how can I start writing application in c
file and which are those APIs which I need to take care and handling of different error codes. It is very urgent.
Please correct me if I am wrong at anywhere.
-Tejas.
Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
participants (2)
-
David Henningsson
-
Tejas