Skip to contentSkip to conversation

Beginner to Alsa Development

DISCUSSION Tejas 2 participants 2 messages Aug 12, 2010

lore
Share & tools
lore

Tejas

author
#0 lore raw

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.

#1 lore raw

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:

Quoted 27 lines

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
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

Signature · 2 lines
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic