From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: snd_pcm_link : Function not implemented Date: Thu, 16 Jun 2011 13:36:48 +0200 Message-ID: References: <4DF1B8A7.3090408@freesystems.biz> <4DF9E450.8090903@freesystems.biz> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id DEDBD10380A for ; Thu, 16 Jun 2011 13:36:52 +0200 (CEST) In-Reply-To: <4DF9E450.8090903@freesystems.biz> 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: ashwanik Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Thu, 16 Jun 2011 16:39:04 +0530, ashwanik wrote: > > > > > On Thursday 16 June 2011 04:13 PM, Takashi Iwai wrote: > > At Wed, 15 Jun 2011 05:50:29 +0000 (UTC), > > Ashwani Kumar wrote: > >> ashwanik freesystems.biz> writes: > >> > >>> Hi All, > >>> > >>> I have download and compile latency.c application from > >>> http://www.alsa-project.org/alsa-doc/alsa-lib/_2test_2latency_8c-example.html. > >>> This application is working fine on Linux PC. > >>> But when I am using this application on my omap4 board(using > >>> ubuntu10.10) is not working. > >>> > >>> I am getting"Streams link error: Function not implemented" error. I > >>> debug the application and found this error coming from the > >>> *snd_pcm_link* function. > >>> I am using ALSA Driver Version 1.0.23. > >>> > >>> please find pointers. > >>> > >>> Thanks in Advance > >>> Ashwani > >>> > >>> > >> Hi, > >> Bringing to Top ,anyone faced similar problem of "snd_pcm_link" returning error > >> val=-38 and prints "Streams link error: Function not implemented". > > I don't know of such a problem. Better to check what went wrong via > > strace or such. > > > > > > Takashi > Thanks for your reply, > > I left that application(latency.c). > now i have merged alsa playback and capture application and thats > working with following issue on omap4 board: > > when i am executing this apps getting "underrun occurred" error This is usually a driver issue. > > CPU consumption very high 22 - 27%. This is normal. It's a sort of stress-test, after all. Takashi