* snd_pcm_link : Function not implemented
@ 2011-06-10 6:24 ashwanik
2011-06-15 5:50 ` Ashwani Kumar
0 siblings, 1 reply; 7+ messages in thread
From: ashwanik @ 2011-06-10 6:24 UTC (permalink / raw)
To: alsa-devel
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* snd_pcm_link:Function not implemented
@ 2011-06-10 6:42 ashwanik
0 siblings, 0 replies; 7+ messages in thread
From: ashwanik @ 2011-06-10 6:42 UTC (permalink / raw)
To: alsa-devel
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: snd_pcm_link : Function not implemented
2011-06-10 6:24 snd_pcm_link : Function not implemented ashwanik
@ 2011-06-15 5:50 ` Ashwani Kumar
2011-06-16 10:43 ` Takashi Iwai
0 siblings, 1 reply; 7+ messages in thread
From: Ashwani Kumar @ 2011-06-15 5:50 UTC (permalink / raw)
To: alsa-devel
ashwanik <ashwani.kumar <at> 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".
Thanks in advance
Regards
Ashwani.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: snd_pcm_link : Function not implemented
2011-06-15 5:50 ` Ashwani Kumar
@ 2011-06-16 10:43 ` Takashi Iwai
2011-06-16 11:09 ` ashwanik
0 siblings, 1 reply; 7+ messages in thread
From: Takashi Iwai @ 2011-06-16 10:43 UTC (permalink / raw)
To: Ashwani Kumar; +Cc: alsa-devel
At Wed, 15 Jun 2011 05:50:29 +0000 (UTC),
Ashwani Kumar wrote:
>
> ashwanik <ashwani.kumar <at> 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: snd_pcm_link : Function not implemented
2011-06-16 10:43 ` Takashi Iwai
@ 2011-06-16 11:09 ` ashwanik
2011-06-16 11:36 ` Takashi Iwai
0 siblings, 1 reply; 7+ messages in thread
From: ashwanik @ 2011-06-16 11:09 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
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<ashwani.kumar<at> 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
> CPU consumption very high 22 - 27%.
please help to sort-out above problems.
Thanks in advance
Ashwani
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: snd_pcm_link : Function not implemented
2011-06-16 11:09 ` ashwanik
@ 2011-06-16 11:36 ` Takashi Iwai
2011-06-23 13:06 ` ashwanik
0 siblings, 1 reply; 7+ messages in thread
From: Takashi Iwai @ 2011-06-16 11:36 UTC (permalink / raw)
To: ashwanik; +Cc: alsa-devel
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<ashwani.kumar<at> 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: snd_pcm_link : Function not implemented
2011-06-16 11:36 ` Takashi Iwai
@ 2011-06-23 13:06 ` ashwanik
0 siblings, 0 replies; 7+ messages in thread
From: ashwanik @ 2011-06-23 13:06 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
On Thursday 16 June 2011 05:06 PM, Takashi Iwai wrote:
> 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<ashwani.kumar<at> 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
Thanks takashi.
I tried to reduce cpu consumption by simple capture & playback
application but no success.
In my capture & playback application set sample rate to 44100 bits/sec.
looking alsa mix upsample the 44100 rate to 48000 bits/sec. I tried to
change defaults.pcm.dmix.rate 44100 in alsa.conf but this change doesn't
reflected in /proc/asound/card0/pcm0c/sub0/hw_params .
access: MMAP_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 48000 (48000/1)
period_size: 35
buffer_size: 6720
Please suggest me how to change hw_params.
Thanks in Advance
Ashwani
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-06-23 13:06 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-10 6:24 snd_pcm_link : Function not implemented ashwanik
2011-06-15 5:50 ` Ashwani Kumar
2011-06-16 10:43 ` Takashi Iwai
2011-06-16 11:09 ` ashwanik
2011-06-16 11:36 ` Takashi Iwai
2011-06-23 13:06 ` ashwanik
-- strict thread matches above, loose matches on Subject: below --
2011-06-10 6:42 snd_pcm_link:Function " ashwanik
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.