* aplay throws error
@ 2011-05-07 7:27 preetam
2011-05-07 14:29 ` Lu Guanqun
0 siblings, 1 reply; 6+ messages in thread
From: preetam @ 2011-05-07 7:27 UTC (permalink / raw)
To: alsa-devel
Hai,
My aplay throws the following error:
Playing WAVE 'Linkin Park - New divide.wav' : Signed 16 bit Little
Endian, Rate 44100 Hz, Stereo
aplay: aplay.c:1029: set_params: Assertion `err >= 0' failed.
Aborted by signal Aborted...
I am using a pandaboard. Kernel is 2.6.35 from omap tree L27.11.1.
I am new to alsa and I have written an soc driver for this.
can anyone help me.
I can only trace the function calls to alloca. I am blank from here on.
Regards,
Preetam
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: aplay throws error
2011-05-07 7:27 aplay throws error preetam
@ 2011-05-07 14:29 ` Lu Guanqun
2011-05-07 17:27 ` preetam
0 siblings, 1 reply; 6+ messages in thread
From: Lu Guanqun @ 2011-05-07 14:29 UTC (permalink / raw)
To: preetam; +Cc: alsa-devel@alsa-project.org
On Sat, May 07, 2011 at 03:27:03PM +0800, preetam wrote:
> Hai,
>
> My aplay throws the following error:
>
> Playing WAVE 'Linkin Park - New divide.wav' : Signed 16 bit Little
> Endian, Rate 44100 Hz, Stereo
> aplay: aplay.c:1029: set_params: Assertion `err >= 0' failed.
Hi,
What's your version of alsa-utils?
I don't see the assert(err >= 0) on line 1029 on the latest repository
code.
Well, if this utilizes your newly written driver, I would suggest you
insert some logs in your hw_params callback in driver. It might actually
be your driver's mis-behavour.
I'm not an expert on alsa, so it's just my 2 cents...
> Aborted by signal Aborted...
>
>
> I am using a pandaboard. Kernel is 2.6.35 from omap tree L27.11.1.
>
> I am new to alsa and I have written an soc driver for this.
> can anyone help me.
>
> I can only trace the function calls to alloca. I am blank from here on.
>
> Regards,
> Preetam
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
--
guanqun
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: aplay throws error
2011-05-07 14:29 ` Lu Guanqun
@ 2011-05-07 17:27 ` preetam
2011-05-09 0:31 ` Lu Guanqun
0 siblings, 1 reply; 6+ messages in thread
From: preetam @ 2011-05-07 17:27 UTC (permalink / raw)
To: Lu Guanqun; +Cc: alsa-devel@alsa-project.org
On Saturday 07 May 2011 07:59 PM, Lu Guanqun wrote:
> On Sat, May 07, 2011 at 03:27:03PM +0800, preetam wrote:
>> Hai,
>>
>> My aplay throws the following error:
>>
>> Playing WAVE 'Linkin Park - New divide.wav' : Signed 16 bit Little
>> Endian, Rate 44100 Hz, Stereo
>> aplay: aplay.c:1029: set_params: Assertion `err>= 0' failed.
> Hi,
>
> What's your version of alsa-utils?
> I don't see the assert(err>= 0) on line 1029 on the latest repository
> code.
>
> Well, if this utilizes your newly written driver, I would suggest you
> insert some logs in your hw_params callback in driver. It might actually
> be your driver's mis-behavour.
>
> I'm not an expert on alsa, so it's just my 2 cents...
>
>> Aborted by signal Aborted...
>>
>>
>> I am using a pandaboard. Kernel is 2.6.35 from omap tree L27.11.1.
>>
>> I am new to alsa and I have written an soc driver for this.
>> can anyone help me.
>>
>> I can only trace the function calls to alloca. I am blank from here on.
>>
>> Regards,
>> Preetam
>> _______________________________________________
>> Alsa-devel mailing list
>> Alsa-devel@alsa-project.org
>> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Hai,
I dont know how to check the alsa-utils version. Its part of android
gingerbread source tree.
There is also an ambiguousness as to whether its a problem with
hw_params or sw_params function.
Is there any way I can use something as simple as ctags with vim in
android source tree?
Is there any updated documentation for starters in alsa soc for the new
pandaboard 2.6.35 kernel?
I want to learn and master, but I am only getting information in bits
and pieces.
Regards,
Preetam
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: aplay throws error
2011-05-07 17:27 ` preetam
@ 2011-05-09 0:31 ` Lu Guanqun
2011-05-09 9:54 ` preetam
2011-05-10 5:01 ` preetam
0 siblings, 2 replies; 6+ messages in thread
From: Lu Guanqun @ 2011-05-09 0:31 UTC (permalink / raw)
To: preetam; +Cc: alsa-devel@alsa-project.org
On Sun, May 08, 2011 at 01:27:06AM +0800, preetam wrote:
> On Saturday 07 May 2011 07:59 PM, Lu Guanqun wrote:
> > On Sat, May 07, 2011 at 03:27:03PM +0800, preetam wrote:
> >> Hai,
> >>
> >> My aplay throws the following error:
> >>
> >> Playing WAVE 'Linkin Park - New divide.wav' : Signed 16 bit Little
> >> Endian, Rate 44100 Hz, Stereo
> >> aplay: aplay.c:1029: set_params: Assertion `err>= 0' failed.
> > Hi,
> >
> > What's your version of alsa-utils?
> > I don't see the assert(err>= 0) on line 1029 on the latest repository
> > code.
> >
> > Well, if this utilizes your newly written driver, I would suggest you
> > insert some logs in your hw_params callback in driver. It might actually
> > be your driver's mis-behavour.
> >
> > I'm not an expert on alsa, so it's just my 2 cents...
> >
> >> Aborted by signal Aborted...
> >>
> >>
> >> I am using a pandaboard. Kernel is 2.6.35 from omap tree L27.11.1.
> >>
> >> I am new to alsa and I have written an soc driver for this.
> >> can anyone help me.
> >>
> >> I can only trace the function calls to alloca. I am blank from here on.
> >>
> >> Regards,
> >> Preetam
> >> _______________________________________________
> >> Alsa-devel mailing list
> >> Alsa-devel@alsa-project.org
> >> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> Hai,
>
> I dont know how to check the alsa-utils version. Its part of android
> gingerbread source tree.
> There is also an ambiguousness as to whether its a problem with
> hw_params or sw_params function.
> Is there any way I can use something as simple as ctags with vim in
> android source tree?
>
> Is there any updated documentation for starters in alsa soc for the new
> pandaboard 2.6.35 kernel?
Hi,
I'm not familar with pandaboard, not sure whether there's any
documentation for this.
> I want to learn and master, but I am only getting information in bits
> and pieces.
>
> Regards,
> Preetam
>
--
guanqun
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: aplay throws error
2011-05-09 0:31 ` Lu Guanqun
@ 2011-05-09 9:54 ` preetam
2011-05-10 5:01 ` preetam
1 sibling, 0 replies; 6+ messages in thread
From: preetam @ 2011-05-09 9:54 UTC (permalink / raw)
To: Lu Guanqun; +Cc: alsa-devel@alsa-project.org
On Monday 09 May 2011 06:01 AM, Lu Guanqun wrote:
> On Sun, May 08, 2011 at 01:27:06AM +0800, preetam wrote:
>> On Saturday 07 May 2011 07:59 PM, Lu Guanqun wrote:
>>> On Sat, May 07, 2011 at 03:27:03PM +0800, preetam wrote:
>>>> Hai,
>>>>
>>>> My aplay throws the following error:
>>>>
>>>> Playing WAVE 'Linkin Park - New divide.wav' : Signed 16 bit Little
>>>> Endian, Rate 44100 Hz, Stereo
>>>> aplay: aplay.c:1029: set_params: Assertion `err>= 0' failed.
>>> Hi,
>>>
>>> What's your version of alsa-utils?
>>> I don't see the assert(err>= 0) on line 1029 on the latest repository
>>> code.
>>>
>>> Well, if this utilizes your newly written driver, I would suggest you
>>> insert some logs in your hw_params callback in driver. It might actually
>>> be your driver's mis-behavour.
>>>
>>> I'm not an expert on alsa, so it's just my 2 cents...
>>>
>>>> Aborted by signal Aborted...
>>>>
>>>>
>>>> I am using a pandaboard. Kernel is 2.6.35 from omap tree L27.11.1.
>>>>
>>>> I am new to alsa and I have written an soc driver for this.
>>>> can anyone help me.
>>>>
>>>> I can only trace the function calls to alloca. I am blank from here on.
>>>>
>>>> Regards,
>>>> Preetam
>>>> _______________________________________________
>>>> Alsa-devel mailing list
>>>> Alsa-devel@alsa-project.org
>>>> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>> Hai,
>>
>> I dont know how to check the alsa-utils version. Its part of android
>> gingerbread source tree.
>> There is also an ambiguousness as to whether its a problem with
>> hw_params or sw_params function.
>> Is there any way I can use something as simple as ctags with vim in
>> android source tree?
>>
>> Is there any updated documentation for starters in alsa soc for the new
>> pandaboard 2.6.35 kernel?
> Hi,
>
> I'm not familar with pandaboard, not sure whether there's any
> documentation for this.
>
I found that there is a problem with the I2C. It is very strange that
I2C writes don't throw any error at all even if the device is completely
disconnected.I have worked on omap3evm before and I could easily get
error messages when I2c transactions failed. This is my first work on
panda and I realize that I2c never throws any errors. How could it be?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: aplay throws error
2011-05-09 0:31 ` Lu Guanqun
2011-05-09 9:54 ` preetam
@ 2011-05-10 5:01 ` preetam
1 sibling, 0 replies; 6+ messages in thread
From: preetam @ 2011-05-10 5:01 UTC (permalink / raw)
To: Lu Guanqun; +Cc: alsa-devel@alsa-project.org
On Monday 09 May 2011 06:01 AM, Lu Guanqun wrote:
> On Sun, May 08, 2011 at 01:27:06AM +0800, preetam wrote:
>> On Saturday 07 May 2011 07:59 PM, Lu Guanqun wrote:
>>> On Sat, May 07, 2011 at 03:27:03PM +0800, preetam wrote:
>>>> Hai,
>>>>
>>>> My aplay throws the following error:
>>>>
>>>> Playing WAVE 'Linkin Park - New divide.wav' : Signed 16 bit Little
>>>> Endian, Rate 44100 Hz, Stereo
>>>> aplay: aplay.c:1029: set_params: Assertion `err>= 0' failed.
>>> Hi,
>>>
>>> What's your version of alsa-utils?
>>> I don't see the assert(err>= 0) on line 1029 on the latest repository
>>> code.
>>>
>>> Well, if this utilizes your newly written driver, I would suggest you
>>> insert some logs in your hw_params callback in driver. It might actually
>>> be your driver's mis-behavour.
>>>
>>> I'm not an expert on alsa, so it's just my 2 cents...
>>>
>>>> Aborted by signal Aborted...
>>>>
>>>>
>>>> I am using a pandaboard. Kernel is 2.6.35 from omap tree L27.11.1.
>>>>
>>>> I am new to alsa and I have written an soc driver for this.
>>>> can anyone help me.
>>>>
>>>> I can only trace the function calls to alloca. I am blank from here on.
>>>>
>>>> Regards,
>>>> Preetam
>>>> _______________________________________________
>>>> Alsa-devel mailing list
>>>> Alsa-devel@alsa-project.org
>>>> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>> Hai,
>>
>> I dont know how to check the alsa-utils version. Its part of android
>> gingerbread source tree.
>> There is also an ambiguousness as to whether its a problem with
>> hw_params or sw_params function.
>> Is there any way I can use something as simple as ctags with vim in
>> android source tree?
>>
>> Is there any updated documentation for starters in alsa soc for the new
>> pandaboard 2.6.35 kernel?
> Hi,
>
> I'm not familar with pandaboard, not sure whether there's any
> documentation for this.
>
>> I want to learn and master, but I am only getting information in bits
>> and pieces.
assert(err>=0) is present in the aplay code at 1029 line. I myself am
unable find it. However, when I give, apla -F100 <song.wav> the error is
gone. But no audio is heard.
Regards,
Preetam
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-05-10 5:01 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-07 7:27 aplay throws error preetam
2011-05-07 14:29 ` Lu Guanqun
2011-05-07 17:27 ` preetam
2011-05-09 0:31 ` Lu Guanqun
2011-05-09 9:54 ` preetam
2011-05-10 5:01 ` preetam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).