From: "Tejas" Subject: Beginner to Alsa Development Date: Thu, 12 Aug 2010 15:38:46 +0530 Message-ID: <000001cb3a06$5a5202d0$0ef60870$@in> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from smtp102.biz.mail.in2.yahoo.com (smtp102.biz.mail.in2.yahoo.com [203.104.17.250]) by alsa0.perex.cz (Postfix) with SMTP id 8659B1038D4 for ; Thu, 12 Aug 2010 12:06:51 +0200 (CEST) Content-Language: en-us List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org 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.