Discussion:
Unable to open PCM device 0 cannot set hw params: Invalid argument
Sreedhar chowdary
2012-01-05 14:01:31 UTC
Permalink
Hi,
We are currently trying to get audio working on Pandabaord. We were
successful in getting Kernel 3.0 + GB (audio working) When the same
support to play back a audio wav file with kernel 3.0.8 + ICS (android
4.0) it is not able to play the file ***@android:/ $ tinyplay
guitarup_full.wav Unable to open PCM device 0 (cannot set hw params:
Invalid argument)
Please let me know if anyone has faced the same issue and what could
be the problem.
Himanshu
2012-01-16 12:25:47 UTC
Permalink
Post by Sreedhar chowdary
Hi,
We are currently trying to get audio working on Pandabaord. We were
successful in getting Kernel 3.0 + GB (audio working) When the same
support to play back a audio wav file with kernel 3.0.8 + ICS (android
4.0) it is not able to play the file shell <at> android:/ $ tinyplay
Invalid argument)
Please let me know if anyone has faced the same issue and what could
be the problem.
Hi Sreedhar

i am facing the similar problem while trying audio playback using tinyalsa over
ICS, did u get hold of it now?

Himanshu
ravikumar b
2012-01-18 11:24:58 UTC
Permalink
hi,
let me know display is working fine with kernel 3.0 + GB.
Post by Sreedhar chowdary
Hi,
We are currently trying to get audio working on Pandabaord. We were
successful in getting Kernel 3.0 + GB (audio working) When the same
support to play back a audio wav file with kernel 3.0.8 + ICS (android
Invalid argument)
 Please let me know if anyone has faced the same issue and what could
be the problem.
王宝云
2012-01-19 14:42:30 UTC
Permalink
you need to set the audio parameter using tinymix before playing wav file
Post by ravikumar b
hi,
let me know display is working fine with kernel 3.0 + GB.
Post by Sreedhar chowdary
Hi,
We are currently trying to get audio working on Pandabaord. We were
successful in getting Kernel 3.0 + GB (audio working) When the same
support to play back a audio wav file with kernel 3.0.8 + ICS (android
Invalid argument)
Please let me know if anyone has faced the same issue and what could
be the problem.
Narendra Reddy
2012-01-20 04:38:41 UTC
Permalink
Hi ,
Can you please suggest the what are the audio parameter using tinymix?
Anticipating your reply soon,

Thanks & Regards,
Narendra
Post by 王宝云
you need to set the audio parameter using tinymix before playing wav file
Post by ravikumar b
hi,
let me know display is working fine with kernel 3.0 + GB.
Post by Sreedhar chowdary
Hi,
We are currently trying to get audio working on Pandabaord. We were
successful in getting Kernel 3.0 + GB (audio working) When the same
support to play back a audio wav file with kernel 3.0.8 + ICS (android
Invalid argument)
Please let me know if anyone has faced the same issue and what could
be the problem.
chitranjan soni
2017-12-18 12:39:59 UTC
Permalink
hi....I have struck with the same issue will you please help me out if you
have solved it.I am very new to this field.
Post by Sreedhar chowdary
Hi,
We are currently trying to get audio working on Pandabaord. We were
successful in getting Kernel 3.0 + GB (audio working) When the same
support to play back a audio wav file with kernel 3.0.8 + ICS (android
Invalid argument)
Please let me know if anyone has faced the same issue and what could
be the problem.
--
You received this message because you are subscribed to the Google Groups "pandaboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandaboard+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Sebastien Guiriec
2017-12-19 20:59:28 UTC
Permalink
Hi,

Can you give more reference on the kernel you are using (git tree and commit)?

You need to take care that between Android GB to ICS you have a switch
from ALSA to tinyalsa. So you need to match with HW configuration. So
I guess in your case you have a kernel with OMAP4 ABE (Audio Back End)
driver. In such case you need to ensure that you are opening the
device at 48kHz and periode size needs to be multiple of 24 bytes.

For info on audio cluster refer to: http://omappedia.org/wiki/Audio_Drive_Arch

Please note that Audio driver for ABE never goes upstream this is why
it is important to get the reference of your kernel tree in order to
support you.

May be you can try to follow the next link (not sure it is still
supportted actively):

http://omappedia.org/wiki/4AI.1.4_OMAP4_Icecream_Sandwich_Panda_Notes

Best regards and good luck,

Sebastien
Post by chitranjan soni
hi....I have struck with the same issue will you please help me out if you
have solved it.I am very new to this field.
Post by Sreedhar chowdary
Hi,
We are currently trying to get audio working on Pandabaord. We were
successful in getting Kernel 3.0 + GB (audio working) When the same
support to play back a audio wav file with kernel 3.0.8 + ICS (android
Invalid argument)
Please let me know if anyone has faced the same issue and what could
be the problem.
--
You received this message because you are subscribed to the Google Groups
"pandaboard" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "pandaboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandaboard+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...